Delete Scheduled SMS

Application must have a scheduled SMS campaign to further modify it and also must save a Group ID of an SMS campaign to be deleted. In order to delete a scheduled slot, there should a minimum gap of 5mins before its execution. API for deleting an SMS campaign that is already scheduled is in the following format:

curl -X GET \
'<BASE_URL>&method=sms.schedule&groupid=25xxxxxxxx'

API Parameter Specifications

The API parameter specifications are described in the following sections.

Mandatory Parameters

The mandatory parameters in the HTTP API are tabulated below:

Parameter Description Expected Values
BASE_URL URL of your SMS Service URL
method Predefined method sms.schedule
groupid group id that has to be deleted group id that has to be deleted

Example Responses

JSON

{
    "status": "OK",
    "data": "",
    "message": "Campaign cancelled successfully and credits are refunded."
}

Error Response

{
    "status": "A432",
    "message": "Campaign already cancelled"
}

Response Data

Field Description
status It indicates the success or failure of your request.
message It indicates the success or failure message.