Skip to Content
MailroomMailroom home
API referenceApprovals

Get an approval

GET
/approvals/{id}

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Response Body

Approval

application/json
  1. response
id?string
email_id?string
agent_id?string
status?string
Value in"pending""approved""rejected""expired""edited"
requested_at?string
Formatdate-time
expires_at?string
Formatdate-time
reason?string
Example Request
curl -X GET 'https://api.mailroom.gosuevals.com/v1/approvals/string'
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"}