Creates new availability slots for a user. By default, when a user is created, availabilities from Monday to Friday, 08:00–16:00 UTC are automatically added. This endpoint allows adding or customizing additional availability periods for the user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"{{companyId}}"
200
[
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-10-13T09:34:03.000000Z",
"day_of_week": 1,
"end_time": "12:00:00",
"id": "01k7eepy93kbjx5wq2rdp1sxgm",
"metadata": null,
"start_time": "08:00:00",
"timezone": "UTC",
"updated_at": "2025-10-13T09:34:03.000000Z",
"user_id": "01k7ee7anat9j4bn5v71v70qck"
},
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-10-13T09:34:03.000000Z",
"day_of_week": 1,
"end_time": "18:00:00",
"id": "01k7eepy9a7rxjt1vkebybhr33",
"metadata": null,
"start_time": "14:00:00",
"timezone": "UTC",
"updated_at": "2025-10-13T09:34:03.000000Z",
"user_id": "01k7ee7anat9j4bn5v71v70qck"
}
]"Availabilities created successfully"
true