List time slots
Gets all available tima slots for company based on filter.
Either event_type_ids or event_id must be provided.
Capacity is the number of customers in booking.
/v1/hq/companies/{company_id}/time_slotsThe Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
Company ID
"aw7da9wd8ua28a821"Query Parameters
"8a1da9wd8ua28aa9d""ea7da9wd8ua28a134"[
"te7da9wd8ua28a1ab",
"xa7da9wd8ua01a134"
]"xa7da9wd8ua01a134""2021-01-01""2021-01-31"1int325Duration is by default inferred from event type(s) but can be overwritten with this parameter.
int3230If true, skips checking if employees and resources can perform the event types and returns all available timeslots
falseOverride the booking interval used for generating timeslots. This overrides the intervals set on the company, employees, and resources.
15int325 | 10 | 15 | 20 | 30 | 45 | 50 | 60 | 75 | 90 | 105 | 120 | 160 | 180 | 24015Response Body
application/json
curl -X GET "https://api.noona.is/v1/hq/companies/aw7da9wd8ua28a821/time_slots?start_date=2021-01-01&end_date=2021-01-31"[
{
"slot": "2020-08-24T15:00:00Z",
"employeeIds": [
"string"
],
"resourceIds": [
"string"
],
"unavailable_resources": [
{
"resource": "string",
"reason": "booking"
}
]
}
]