POST
/
schedule
/
cancel
Cancel a scheduled request
curl --request POST \
  --url https://api.callmelater.xyz/schedule/cancel \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "scheduleId": "sched_1234567890abcdef"
}'
{
  "message": "Schedule cancelled successfully"
}
Cancel a previously scheduled request and receive a credit refund if the request hasn’t been executed yet.

Example Request

curl -X POST https://api.callmelater.xyz/schedule/cancel \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "scheduleId": "sched_1234567890abcdef"
  }'

Response

{
  "message": "Schedule cancelled successfully"
}

Important Notes

  • You can only cancel requests that haven’t been executed yet
  • If cancelled successfully, you’ll receive a credit refund
  • Once a request has been executed, it cannot be cancelled
  • The schedule ID is returned when you create a schedule

Authorizations

x-api-key
string
header
required

API key authentication. Include your API key in the x-api-key header.

Body

application/json

Cancellation request

The body is of type object.

Response

200
application/json

Schedule cancelled successfully

The response is of type object.