Templates
Number of APIs: 8
-
Get template by ID (default fields) GET https://graph.facebook.com/{{api-version}}/<TEMPLATE_ID>
-
Edit template POST https://graph.facebook.com/{{api-version}}/<TEMPLATE_ID>
-
Get all templates (default fields) GET https://graph.facebook.com/{{api-version}}/{{waba-id}}/message_templates
-
Get namespace GET https://graph.facebook.com/{{api-version}}/{{waba-id}}?fields=message_template_namespace
-
Delete template by ID DELETE https://graph.facebook.com/{{api-version}}/{{waba-id}}/message_templates?hsm_id=<HSM_ID>&name=<NAME>
-
Create template w/ document header, text body, a phone number button, and a URL button POST https://graph.facebook.com/{{api-version}}/{{waba-id}}/message_templates
-
Delete template by ID DELETE https://graph.facebook.com/{{api-version}}/{{waba-id}}/message_templates?hsm_id=<HSM_ID>&name=<NAME>
-
Get template by name (default fields) GET https://graph.facebook.com/{{api-version}}/{{waba-id}}/message_templates?name=<TEMPLATE_NAME>