Skip to main content
POST
Decline queued sends awaiting review

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Body

application/json
sendIds
string[]
required

1-100 unique queued-send ids. Approve moves rows in approval_required to scheduled; decline moves rows in approval_required or scheduled to stopped, which also halts that contact's sequence. Ids you do not own are reported under notFound; ids in a state the decision cannot move are reported under ignored.

Required array length: 1 - 100 elements

A queued send id (24-character hex ObjectId).

Response

Success

declined
string[]
required

Ids that moved to stopped, halting that contact's sequence.

ignored
string[]
required

Your sends that decline cannot move in their current state.

notFound
string[]
required

Ids that do not exist or belong to a campaign you do not own.