Mailrelay API Reference

Cancel a SMS campaign

PATCH /sms/sent_campaigns/{id}/cancel

This will stop and permanently cancel the campaign. It can't be resumed later.

Parameters

NameTypeDescription
id integer ID of the record

Responses

StatusDescription
204 Success
404 Couldn't find record with provided ID.
401 The API key wasn't sent or is invalid
500 An internal error happened. Try again later.
409 Returned when campaign can't be cancelled. This can happen when it has already finished.