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
chevron-right
200

Template library retrieved successfully

application/json
objectOptional
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
categorystringOptionalExample: UTILITY
languagestringOptionalExample: en_US
library_template_namestringOptionalExample: welcome_template
namestringOptionalExample: order_update
Responses
chevron-right
200

Template created / submitted successfully

application/json
categorystringOptionalExample: UTILITY
idstringOptionalExample: {hsm-id}
statusstringOptionalExample: APPROVED
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
chevron-right
200

Templates retrieved successfully

application/json
objectOptional
get
/v1/configs/templates

Create Template

post

Create a new message template

Authorizations
D360-API-KEYstringRequired

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

Body
objectOptional
Responses
chevron-right
200

Template created successfully

application/json
objectOptional
post
/v1/configs/templates

Delete Template

delete

Delete a message template by template name.

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

Responses
chevron-right
200

Template deleted successfully

application/json
objectOptional
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
chevron-right
200

Template updated successfully

application/json
objectOptional
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
chevron-right
200

Template comparison completed successfully

application/json
objectOptional
get
/{template_id}/compare

Last updated

Was this helpful?