Skip to main content
GET
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Query Parameters

which
enum<string>

Which part of your approval inbox to list: pending (undecided and not expired, oldest first) or decided (decided or expired, most recently closed first). Defaults to pending. Cannot be combined with response_id.

Available options:
pending,
decided
response_id
string

List the approvals of this response that you may see, oldest first, instead of your inbox. The caller that made the request sees all of them.

Required string length: 1 - 255
limit
integer
default:100

How many approvals to return.

Required range: 1 <= x <= 100
after
string

Return the approvals that follow this approval ID in the listing.

Required string length: 1 - 255

Response

200 - application/json

OK

object
any
required
data
Tool approval · object[]
required
has_more
boolean
required

Whether more approvals follow; pass the last ID as after to read them.