Skip to main content
GET
/
2023-11
/
admin
/
availabilities
{
  "data": [
    {
      "company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
      "created_at": "2025-10-13T09:25:31.000000Z",
      "day_of_week": 1,
      "end_time": "18:00:00",
      "id": "01k7ee7ancg9qvc5xxt77mcwsd",
      "metadata": null,
      "start_time": "08:00:00",
      "timezone": "UTC",
      "updated_at": "2025-10-13T09:25:31.000000Z",
      "user_id": "01k7ee7anat9j4bn5v71v70qck"
    },
    {
      "company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
      "created_at": "2025-10-13T09:25:31.000000Z",
      "day_of_week": 2,
      "end_time": "18:00:00",
      "id": "01k7ee7anem9bzhj7k2e3xmj4n",
      "metadata": null,
      "start_time": "08:00:00",
      "timezone": "UTC",
      "updated_at": "2025-10-13T09:25:31.000000Z",
      "user_id": "01k7ee7anat9j4bn5v71v70qck"
    },
    {
      "company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
      "created_at": "2025-10-13T09:25:31.000000Z",
      "day_of_week": 3,
      "end_time": "18:00:00",
      "id": "01k7ee7anf4edwngdsf4dkc0nd",
      "metadata": null,
      "start_time": "08:00:00",
      "timezone": "UTC",
      "updated_at": "2025-10-13T09:25:31.000000Z",
      "user_id": "01k7ee7anat9j4bn5v71v70qck"
    },
    {
      "company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
      "created_at": "2025-10-13T09:25:31.000000Z",
      "day_of_week": 4,
      "end_time": "18:00:00",
      "id": "01k7ee7anhffm7f2a4cgj2a7bs",
      "metadata": null,
      "start_time": "08:00:00",
      "timezone": "UTC",
      "updated_at": "2025-10-13T09:25:31.000000Z",
      "user_id": "01k7ee7anat9j4bn5v71v70qck"
    },
    {
      "company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
      "created_at": "2025-10-13T09:25:31.000000Z",
      "day_of_week": 5,
      "end_time": "18:00:00",
      "id": "01k7ee7anjy0xhsvncbexac189",
      "metadata": null,
      "start_time": "08:00:00",
      "timezone": "UTC",
      "updated_at": "2025-10-13T09:25:31.000000Z",
      "user_id": "01k7ee7anat9j4bn5v71v70qck"
    }
  ],
  "message": "Availabilities retrieved successfully",
  "status": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-company
string
Example:

"{{companyId}}"

Query Parameters

user_id
string
Example:

"{{userId}}"

Response

200 - application/json

200 / 200

data
object[]
Example:
[
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-10-04T15:35:29.000000Z",
"day_of_week": 1,
"end_time": "11:00:00",
"id": "01k6qxt95bq738sn4d5n4h919v",
"metadata": null,
"start_time": "07:00:00",
"timezone": "Africa/Douala",
"updated_at": "2025-10-04T15:35:29.000000Z",
"user_id": "01k1amyqgjje8sknkzpm78qv6x"
},
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-10-04T15:35:29.000000Z",
"day_of_week": 1,
"end_time": "19:00:00",
"id": "01k6qxt95gm71d1hg98zx72rqw",
"metadata": null,
"start_time": "11:00:00",
"timezone": "Africa/Douala",
"updated_at": "2025-10-04T15:35:29.000000Z",
"user_id": "01k1amyqgjje8sknkzpm78qv6x"
}
]
message
string
Example:

"Availabilities retrieved successfully"

status
boolean
Example:

true