Request
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
Provide your bearer token in the Authorization header when making requests to protected resources.
Example: Authorization: Bearer 123
Provide your bearer token in the Authorization header when making requests to protected resources.
Path Parameters
calendarId
stringExamples:
ocQHyuzHvysMo5N5VsXc
Query Parameters
timezone
string
The timezone in which the free slots are returned
Example:
America/Chihuahua
userId
string
The user for whom the free slots are returned
Example:
082goXVW3lIExEQPOnd3
userIds
array[string]
The users for whom the free slots are returned
endDate
number
End Date (⚠️ Important: Date range cannot be more than 31 days)
Example:
1601490599999
startDate
number
Start Date (⚠️ Important: Date range cannot be more than 31 days)
Example:
1548898600000
Headers
Authorization
string
Access Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
API Version
Allowed value:
2021-04-15
Responses
200
Successful response
Body
_dates_
object
slots
array[string]
401
Unauthorized
Body
statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized
400
Bad Request
Body
statusCode
number
Example:
400
message
string
Example:
Bad Request