Creating WhatsApp Message templates
Step-by-step process of creating a Whatsapp Message Template using the Touchpoints API.
Creating WhatsApp Message Templates
1 -- Create a Project
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
enum for all the different project types Touchpoints API supports.
dictionary:
- 0 DEFAULT: This should indicate that the project is of our current scope (can be used across all BirdCRM services).
- 1 SAVED_TEMPLATE: This should indicate that the project is a saved template, meaning that it came from extending one of BirdCRM library templates. They can be used for creating other Projects, such as inline campaigns and flows content.
- 2 INLINE_MESSAGE: This should indicate that the project is an inline message, meaning that it was created from a campaign or flow using a library template or a saved template. They are linked to an specific instance of other BirdCRM services (Campaigns, Flows, etc.).
- 3 (PLATFORM_REVIEWED_TEMPLATE): This should indicate that the project is a platform reviewed template, meaning the template must go through a external platform review.
Tags for this project
Created
Workspace not found
Duplicate project
Invalid project
2 -- Retrieve a Channel Group
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
OK
Workspace not found
Invalid request
3 -- Preview the Template (Optional)
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
OK
Workspace not found
Invalid request
4 -- Create a Channel Template
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Include metrics in the response
falseenPossible values: Created
Default locale must exist in the content property
Workspace not found
Duplicate channeltemplate
Invalid channeltemplate
Deployment fields
Other key fields
5 -- Activate the Template
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Activated
No content
Project, channeltemplate or workspace not found
Failed to activate channeltemplate
No content
Deactivating a template
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
Deactivated
No content
Project, channeltemplate or workspace not found
Failed to deactivate channeltemplate
No content
6 -- Check the Template Status
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
OK
enPossible values: The ID of the user that last published this ChannelTemplate.
The ID of the template that this template was cloned from. This field is only present if this template was cloned from another template.
Metrics for this template.
Project, channeltemplate or workspace not found
No active channeltemplate marked as latest
Template-level status
Platform-level status (platformInfo)
Approval details (platformContent.approvals)
Rejection reason codes
Example: rejected template
7 -- Update a Template
Update strategy by status
Updating a draft template (PATCH)
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
enPossible values: If true and template is already published, a new template will be created with the new parameters and activated.
Updated
enPossible values: The ID of the user that last published this ChannelTemplate.
The ID of the template that this template was cloned from. This field is only present if this template was cloned from another template.
Metrics for this template.
Default locale must exist in the content property
ChannelTemplate not found
Status of channeltemplate is not draft
Invalid project
Creating a new version of an active or inactive template (POST)
Meta rate limits for template updates
Recommended update workflow
Template Lifecycle and Webhooks
Block Types Reference
Related
Last updated
Was this helpful?

