v1

latestOpenAPI 3.1.02026-07-2458221215.8 KB
Templates

Create a template

Create a new template in a workspace

post/templates

Request body

namestring

The name of the template

folder_idstring nullable

The ID of the folder the template should be created in

whats_app_business_account_idstring nullable

The WhatsApp Business Account ID associated with the template

Response

OK

idstring

The ID of the template

status'submitted' | 'approved' | 'rejected' | 'pending' | 'external_deleted' | 'unknown' | 'draft' | 'missing_after_migration'
namestring

The name of the template

created_atstring date-time
updated_atstring date-time
urlstring

The URL of the template resource

Example response

{
  "created_at": "2022-03-10T16:15:50Z",
  "updated_at": "2022-03-10T16:15:50Z"
}