Cancel Transmission

This API lets you to cancel an already scheduled transmission.

Note: Transmission refers to a campaign. For example, transmission_id means the campaign's unique ID.

Request Type

  • PUT

Request URL

https://campaigns.zoho.com/emailapi/v2/transmission/cancel/{transmission_id}

Content-Type

application/json

List of Response Body Attributes

ParametersData TypeDescription
transmission_idStringUnique ID of the transmission.
responseJSON ObjectContains the response details of the API.
codeIntegerSuccess or failure code.
messageStringSuccess or failure message returned by the API.
errorsJSON ArrayContains the error details of the API such as 'code' and 'message'.

Possible Error Cases

Error Codes

Description

400018Invalid transmission ID.
400019The schedule time is overdue.
400020Transmission has already been sent.
400023Transmission has already been canceled.

Sample Response - Success

Copied{
  "response": {
    "code": 200003,
    "message": "Scheduled transmission has been successfully canceled"
  },
  "transmission_id": "1093639000425567264"
}

Sample Response - Failure

Copied{
  "errors": [
    {
      "code": 400018,
      "message": "Invalid transmission ID"
    }
  ]
}