API referenceEmails
Cancel a queued, scheduled, or pending email
POST
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringIdempotency-Key?stringStored 24h. Same key + body returns the original response.
Cancelled
application/json- response
id*stringstatus*EmailStatusValue in
"queued""pending_approval""scheduled""sending""sent""delivered""bounced""complained""failed""suppressed""rejected""cancelled"from?stringto?array<string>subject?stringagent_id?string|nullapproval_id?string|nullcreated_at?stringFormat
date-timecurl -X POST 'https://api.mailroom.gosuevals.com/v1/emails/string/cancel'Example Response
{ "id": "eml_01HZX", "status": "queued", "from": "string", "to": [ "string" ], "subject": "string", "agent_id": "string", "approval_id": "string", "created_at": "2019-08-24T14:15:22Z"}