Skip to main content
GET
List offices
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
name
string

Offices whose name contains this text, case-insensitive.

description
string

Offices whose description contains this text, case-insensitive.

officeIds
string<uuid>[]

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

archived
enum<string>

true or 1: only archived. false or 0: only not archived. Absent: both.

Available options:
true,
false,
1,
0
sort
string
default:createdAt

Comma-separated fields: name, description, createdAt, updatedAt. A leading - sorts descending. Ties are broken by id ascending.

Response

The paginated offices.

data
object[]
meta
object