Stop messages
Overview
This command will attempt to stop the delivery of a particular message. This command can only stop messages that have been scheduled for delivery in the future or may be queued within our router. It cannot stop messages that have already been delivered to an SMSC.
Command
https: //api.clickatell.com/http/delmsg?user=xxxx&password=xxxx&api_id=xxxx&apimsgid=xxxx |
Parameters
You also need to supply your authentication parameters.
Parameter |
Description |
---|---|
|
This is the API message ID you get back when you send a message. |
|
This is the message ID that you specified when you generated a message. |
Examples
Bash
1 |
|
PHP
1 |
|
Python
1 |
|
API responses
Example response
Successful API response:
ID: f6b9af2a2c9e5b18ee2d257e3def5d66 Status: 006 |
Error response:
ERR: 001 , Authentication failed |
Format
Successful API response:
ID: <message ID> Status: <status ID> |
Error response:
ERR: <error code>, <error description> |
Submit a Comment
Other Resources
Ask the Community
Visit Stack Overflow to join our community of developers and find the answer you need
Contact Support
Contact our support team and one of our agents will be in touch with you to answer any questions you have