whatsapp
Whatsapp Create Template
Changed onSubmit a template, authored or from Meta's Template Library.
An authored template (with components) comes back PENDING and can't be sent until it reaches APPROVED — UTILITY usually clears in minutes, MARKETING can take up to 24h.
Passing library_template_name instead builds from Meta's library, where a template used unchanged skips review and is usable straight away. That makes it the quickest way to get something sendable; the trade is that the copy is Meta's, customizable only through the library button/body inputs.
post/integrations/whatsapp/{connection_id}/templates
Request
- Base URLhttps://api.agentphone.ai
- URLhttps://api.agentphone.ai/integrations/whatsapp/{connection_id}/templates
- AuthHTTP bearer
Path parameters
connection_idstring required
Request body
Example request
{
"name": "order_shipped",
"parameter_format": "NAMED",
"library_template_name": "appointment_confirmation_1"
}Response
Successful Response
unknown required
Changes
- info
endpoint added
- info