API referenceApprovals
List approvals
GET
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
limit?integerRange
1 <= value <= 100Default
25after?stringCursor from the previous page.
status?stringValue in
"pending""approved""rejected""expired""edited"Approvals
application/json- response
data?array<>after?string|nullcurl -X GET 'https://api.mailroom.gosuevals.com/v1/approvals'Example Response200
{ "data": [ { "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" } ], "after": "string"}