Skip to main content
POST
Reject message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Repeating a call with the same key replays the original result instead of acting again.

Required string length: 8 - 128

Path Parameters

campaign
string
required

The campaign id from list-campaigns.

task
string
required

The task_id from list-messages-for-review.

Body

application/json
reason
string

Why the lead was rejected, shown next to them on the rejected list. Leads only.

Maximum string length: 500

Response

The call ran. Read data.status for what happened.

data
object
required
meta
object
required