List approval requestsComing soon
Returns the final actions this connection asked the account holder to approve, newest first.
Coming soon. Returns the final actions this connection asked the account holder to approve, newest first.
Scopes: none beyond a valid key or token
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
limit?integerHow many results per page.
1 <= value <= 10025cursor?stringThe next_cursor of the previous page. Cursors expire after 24 hours.
length <= 512status?stringOnly this status.
"pending""approved""declined""expired""cancelled"One page of approvals.
application/json- response
One page of results. Pass next_cursor as cursor to get the next page; it is null on the last page.
data*array<>next_cursor*|Cursor for the next page, or null when there are no more results.
curl -X GET 'https://api.matchai.co/v1/approvals'{ "data": [ { "id": "string", "status": "pending", "operation_id": "string", "method": "POST", "path": "string", "summary": "string", "approval_url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "resolved_at": "2019-08-24T14:15:22Z", "result": { "status_code": 0, "body": {} } } ], "next_cursor": "string"}