Update A Message

Update an existing (unsent) message.

https://app.mojotxt.com/api/v1/{phone_number}/messaages/update/{MessageID}

Only messages with a Sent status of 0 can be updated. If a message has already been sent, or is currently sending, it cannot be updated.

Any Message Object field can be included as a parameter. You can send parameters as part of the GET querystring, or as POST data. Multiple fields can be updated at one time. Fields not included with your request will be ignored. To set a field to NULL, send an empty value.

Example Request:

GET https://app.mojotxt.com/api/v1/+16147052760/messages/update/708?Message=New%20Message

-or-

POST https://app.mojotxt.com/api/v1/+16147052760/messages/update/708
DATA Message=New%20Message

Example Result:

{
"result": "success",
"timestamp": 1460130324,
"request": {
"phone": "+16147052760",
"object": "messages",
"verb": "update",
"id": "708",
"Message": "New Message"
},
"message": "The message was updated successfully."
}