Get approval requests

GET
/approval_requests

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Query parameters

order"asc" or "desc"Optional

Order by

Allowed values: ascdesc
limitintegerOptional>=1<=100

Max is 100

pagination_tokenstringOptional

A token, obtained from previous page. Prior over other filters

sort"created_at" or "updated_at"Optional

Allowed sort fields

Allowed values: created_atupdated_at
created_at__gtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
created_at__ltdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
created_at__gtedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
created_at__ltedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
updated_at__gtdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
updated_at__ltdatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
updated_at__gtedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
updated_at__ltedatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z
object_idstringOptional
object_id__instringOptional
statusenumOptional
Allowed values: waitingapprovedrejectedcanceled
status__inenumOptional
Allowed values: waitingapprovedrejectedcanceled
user_idstringOptional
role_idstringOptional
object_typeenumOptional
object_type__inenumOptional
created_bystringOptional

Response

Successful Response

datalist of objects
next_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the next page of results, or null if there is no next page (i.e. you’ve reached the last page).

prev_pagination_tokenstringOptional

A token that can be sent in the pagination_token query parameter to get the previous page of results, or null if there is no previous page (i.e. you’ve reached the first page).

Errors