Skip to main content
GET
List requests
Version:v4

Authorizations

Authorization
string
header
required

Sesame Public API consumer token (Authorization: Bearer )

Query Parameters

page
integer
default:1
limit
integer
default:20
Required range: x <= 300
statuses
enum<string>[]

Comma-separated statuses.

Available options:
accepted,
pending,
rejected
requestTypeIds
string<uuid>[]

Comma-separated request type ids. An id that does not exist in the company is ignored.

employeeId
string<uuid>

Only the requests of this employee. An employee that does not exist in the company gives an empty page.

createdFrom
string<date-time>

Created at or after this ISO 8601 date-time with zone. Encode + as %2B.

createdTo
string<date-time>

Created at or before this ISO 8601 date-time with zone. Encode + as %2B.

sort
string
default:-createdAt

Field: createdAt. A leading - sorts descending. Ties are broken by id ascending.

Response

The paginated requests.

data
object[]
meta
object