Update a message template name or the message content. You can also activate or archive a template by changing the status.
PATCH /v1/message-templates/{messageTemplateId}
Authorization: Bearer <access_token> or Authorization: Basic <encodedString> where <encodedString> is your <api-key>:<api-secret> string encoded using Base64 encoding
messageTemplateId REQUIRED
string (UUID)
Unique ID for the message template in RocketCOMS.
name
string
Name of the message template.
message
string
Message content.
status
string enum, values: ACTIVE, ARCHIVED
Status of the message template. Possible values are:
Returns the Message Template object. This object contains the template details and status.
SAMPLE REQUEST
{
"status": "ACTIVE"
}
SAMPLE RESPONSE
{
"id": "a9e1e4ce-0d9e-4298-8059-178e17d31c11",
"name": "Spring Campaign",
"message": "Our spring sale starts tomorrow!",
"status": "ACTIVE",
"createdAt": "2023-11-02T16:58:25.808Z",
"updatedAt": "2023-11-03T16:58:25.808Z"
}
RocketCOMs is a powerful SMS marketing platform that empowers businesses with seamless support for multiple brands, intuitive campaign management, real-time analytics, and advanced formatting options for successful text message campaigns.