Create message template
documentedCreate a new message template for approval/use.
POST /v{version}/{waba-id}/message_templatesTemplatesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl 'https://graph.facebook.com/{{$version}}/{{$waba_id}}/message_templates' \
-X POST \
-H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"name": "{{$template_name}}", "language": {"policy": "deterministic", "code": "{{$language_code}}"}, "category": "{{$template_category}}", "components": [{"type": "BODY", "text": "{{$body_text}}"}] }'