Create Block Slot

GEThttps://services.leadconnectorhq.com/calendars/events/block-slots
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
Query Parameters
Body
title
string

Title

Example:
Test Event
calendarId
string
required

Either calendarId or assignedUserId can be set, not both.

Example:
CVokAlI8fgw4WYWoCtQz
assignedUserId
string

Either calendarId or assignedUserId can be set, not both.

Example:
CVokAlI8fgw4WYWoCtQz
locationId
string
required

Location Id

Example:
C2QujeCh8ZnC7al2InWR
startTime
string

Start Time

Example:
2021-06-23T03:30:00+05:30
endTime
string

End Time

Example:
2021-06-23T04:30:00+05:30
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-04-15

Responses

Successful response

id
string
required

Id

Example:
0TkCdp9PfvLeWKYRRvIz
locationId
string
required

Location Id

Example:
C2QujeCh8ZnC7al2InWR
title
string
required

Title

Example:
My event
startTime
object
required

Start Time

Example:
2021-06-23T03:30:00+05:30
endTime
object
required

End Time

Example:
2021-06-23T04:30:00+05:30
calendarId
string

Calendar id

Example:
CVokAlI8fgw4WYWoCtQz
assignedUserId
string

Assigned User Id

Example:
0007BWpSzSwfiuSl0tR2

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request