Skip to content

List offices

Request

Retrieve all offices with basic pagination support

This is a read-only lookup endpoint backed by Hasura.

Security
BearerAuth
Bodyapplication/json
pageSizeinteger, [ 1 .. 1000 ]

Maximum number of records to return

Default:50
pageinteger, >= 0

Number of records to skip (offset)

Default:0
curl -i -X POST \
  https://api.doc.aiwyn.ai/_mock/bundle/gql/v1/offices \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "pageSize": 50,
    "page": 0
  }'

Responses

Successfully retrieved offices

Bodyapplication/json
officesArray of objects
totalobject
Response
{ "offices": [ {} ], "total": { "aggregate": {} } }