Templates

Endpoints for managing WhatsApp message templates

Get Message Template Library

get

Retrieve message templates from the template library for a WABA.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
get
/message_template_library

Create WhatsApp Message Template (Library Import Optional)

post

Create a new WhatsApp message template for a WABA account. Templates can be created from scratch or imported from the Meta Template Library. See Meta docs: https://developers.facebook.com/documentation/business-messaging/whatsapp/templates/template-library

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
or
Responses
post
/message_templates

Get Templates

get

Retrieve message templates

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Responses
get
/v1/configs/templates

Create Template

post

Create a new message template. More information about the template creation payload can be found in the 360 Dialog documentation: https://docs.360dialog.com/docs/waba-messaging/template-messaging.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Body
objectOptional
Responses
post
/v1/configs/templates

Delete Template

delete

Delete a message template by template name. More information about template deletion can be found in the 360 Dialog documentation: https://docs.360dialog.com/docs/waba-messaging/template-messaging#delete-a-template.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
template_namestringRequired

Template name

Query parameters
external_idstringOptional

Template id on Meta. If specified, name is ignored. Example: 1423298775400

idstringOptional

Template id on HUB. If specified, name and external_id are ignored. Example: exampleWT

Responses
delete
/v1/configs/templates/{template_name}

Update WhatsApp Message Template

post

Update an existing WhatsApp message template

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
whats_app_message_template_idstringRequired

WhatsApp Message Template ID

Body
objectOptional
Responses
post
/v1/configs/templates/{whats_app_message_template_id}

Compare Template

get

Compare template information by template ID using Meta API. Returns template details and comparison results.

Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
template_idstringRequired

Template ID

Responses
get
/{template_id}/compare

Last updated

Was this helpful?