API referenceApprovals
Approve a pending send
Requires approvals:decide. Agent-scoped keys cannot call this.
POST
Requires approvals:decide. Agent-scoped keys cannot call this.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringIdempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
edited?Approved
application/json- response
id?stringemail_id?stringagent_id?stringstatus?stringValue in
"pending""approved""rejected""expired""edited"requested_at?stringFormat
date-timeexpires_at?stringFormat
date-timereason?stringcurl -X POST 'https://api.mailroom.gosuevals.com/v1/approvals/string/approve' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "id": "string", "email_id": "string", "agent_id": "string", "status": "pending", "requested_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "reason": "string"}