WhatsApp

Create WhatsApp template

Create a custom WhatsApp message template and submit it to Meta for review.

post/orgs/connections/{connection_id}/whatsapp/templates

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/connections/{connection_id}/whatsapp/templates
  • Auth: HTTP bearer

Path parameters

connection_idstring required

The ID of the connection

Request body

waba_idstring
phone_number_idstring
namestring required
languagestring required
category'AUTHENTICATION' | 'MARKETING' | 'UTILITY' required
parameter_format'POSITIONAL' | 'NAMED'
message_send_ttl_secondsnumber

Response

idstring required
waba_idstring required
namestring required
languagestring required
status'APPROVED' | 'IN_APPEAL' | 'PENDING' | 'REJECTED' | 'PENDING_DELETION' | 'DELETED' | 'DISABLED' | 'PAUSED' | 'LIMIT_EXCEEDED' required
category'AUTHENTICATION' | 'MARKETING' | 'UTILITY' required
rejected_reasonstring
correct_category'AUTHENTICATION' | 'MARKETING' | 'UTILITY' nullable
sourcestring

AUTO_GENERATED when Meta created the template for a Direct Send update; absent on templates the business authored

Changes

No recorded changes to this operation across all 1 revision of this API.