Create Block Slot
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.
Query Parameters
Body
title
stringTitle
Example:
Test Event
calendarId
stringEither calendarId or assignedUserId can be set, not both.
Example:
CVokAlI8fgw4WYWoCtQz
assignedUserId
stringEither calendarId or assignedUserId can be set, not both.
Example:
CVokAlI8fgw4WYWoCtQz
locationId
stringLocation Id
Example:
C2QujeCh8ZnC7al2InWR
startTime
stringStart Time
Example:
2021-06-23T03:30:00+05:30
endTime
stringEnd Time
Example:
2021-06-23T04:30:00+05:30
Headers
Authorization
stringAccess Token
Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
stringAPI Version
Allowed value:
2021-04-15
Responses
200
Successful response
Body
id
stringId
Example:
0TkCdp9PfvLeWKYRRvIz
locationId
stringLocation Id
Example:
C2QujeCh8ZnC7al2InWR
title
stringTitle
Example:
My event
startTime
objectStart Time
Example:
2021-06-23T03:30:00+05:30
endTime
objectEnd Time
Example:
2021-06-23T04:30:00+05:30
calendarId
stringCalendar id
Example:
CVokAlI8fgw4WYWoCtQz
assignedUserId
stringAssigned User Id
Example:
0007BWpSzSwfiuSl0tR2
422
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