Skip to main content
GET
List a bot's approvals

Authorizations

Authorization
string
header
required

The session token of an admin of your company. Company API, partner and droplet installation tokens are refused.

Path Parameters

bot_id
string<uuid>
required

The bot's id.

Query Parameters

filter[status]
enum<string>

Only approvals in this status.

Available options:
pending,
approved,
declined,
expired,
cancelled,
consumed
page[cursor]
string

The next_cursor of the previous page.

page[limit]
integer
default:25

The page size, 1 to 100.

Required range: 1 <= x <= 100

Response

The approvals.

approvals
object[]
required

The bot's approvals, newest first, without their inputs.

status
integer
required

The HTTP status.

meta
object
required

Response metadata on every body. List endpoints add pagination.