Creating WhatsApp Message templates
Step-by-step process of creating a Whatsapp Message Template using the Touchpoints API.
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 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 - 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

4 - Activate 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
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
5 - Checking the status
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
OK
Project, channeltemplate or workspace not found
No active channeltemplate marked as latest
Last updated
Was this helpful?

