myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Cancel scheduled message

DELETE

/api/v1/ext/messages/scheduled/{id}

Cancel a message that has not been sent yet.

Auth: Bearer access_token
Scope: messages.write

Only a pending message can be cancelled. One already being sent, sent, failed or cancelled answers 409.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
The scheduled message id.

Responses

StatusWhen
200
OK
401
Missing or invalid token
404
Scheduled message does not exist or is not owned by the installer (same response for both)
409
Already sent or being sent
Request
curl -X DELETE "https://backend.mysmsgateway.app/api/v1/ext/messages/scheduled/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "message": "Scheduled message cancelled"
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

The scheduled message id.

Request URL
DELETEhttps://backend.mysmsgateway.app/api/v1/ext/messages/scheduled/%7Bid%7D
Previous

« List scheduled messages

Next

List conversations »