MessageTemplate
Update message template
Updates writable fields on the given message template.
Note: Templates synchronized from a WhatsApp Business Account cannot be modified via the API.
post/v1/projects/{project_id}/message_templates/{id}
Request
- Base URL: https://api.telerivet.com
- URL: https://api.telerivet.com/v1/projects/{project_id}/message_templates/{id}
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://telerivet.com/oauth/authorize, token URL https://api.telerivet.com/oauth/token)
Path parameters
project_idstring required
ID of the Project
idstring required
ID of the MessageTemplate
Request body
Example request
{
"name": "Welcome Message",
"content": "Hello, [[contact.name]]! Welcome to our service.",
"solution_id": "SO2ad0100821a98bea"
}Response
Successful response
Example response
{
"id": "MTd34f8c1d71a3e2b4",
"name": "Welcome Message",
"content": "Hello, [[contact.name]]! Welcome to our service.",
"time_created": 1390343800,
"time_updated": 1390343845,
"solution_id": "SO2ad0100821a98bea",
"project_id": "PJ2ad0100821a98bea"
}Changes
No recorded changes to this operation across all 1 revision of this API.