Create or Update a Text Message
Creates or edits a text message if message with specified messageId already exists. Returns the id of the created or edited text message.
HTTP Request Examples
{
"name": "Demo Text Message",
"previewUrl": "https://.../some.png",
"messageId": 1796,
"tenantId": 112,
"campaignId": 3360,
"total_sent": 0,
"total_delivered": 0,
"total_failed": 0,
"total_replied": 0,
"total_optout": 0,
"total_clicked": 0,
"trackclicks": true,
"message": "Example of a text message",
"mediaurl": "",
"status": "Active",
"isEnabled": true
}
HTTP Response Examples
200
{
"Status": true,
"Message": "",
"Response": {
"id": 112
}
}