Skip to content

Get Cal.com Integration by Unit

Endpoint used to get a Cal.com integration by unit.

Terminal window
curl --request GET \
--url https://converflow.api.prod.toolzz.media/api/v1/calcom/integration/unit/{unitId} \
--header 'Authorization: Bearer TOKEN_HERE'
{
"data": [
{
"id": "uuid",
"botId": null,
"unitId": "uuid",
"title": "string",
"calcomUsername": "string",
"apiKey": "string",
"isActive": true,
"isTokenMasked": true,
"timezone": "string",
"prompt": "string",
"checkAvailabilityEnabled": true,
"createBookingEnabled": true,
"defaultEventTypeId": null,
"defaultEventTypeSlug": null,
"createdAt": "YYYY-MM-DD HH:mm:ss.SSSSSS",
"updatedAt": "YYYY-MM-DD HH:mm:ss.SSS"
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
unitIdStringUnit IDYes
KeyTypeDescriptionRequired
data[]ArrayList of objects with the settings of each Cal.com integration.Yes
idUUIDUnique configuration identifier in the database.Yes
botIdNull/UUIDToolzz AI Agent ID: Identifier of the AI linked to this calendar.No
unitIdUUIDUnique identifier of the owning organizational unit.Yes
titleStringFriendly name of the integration (e.g., “Calcom”).Yes
calcomUsernameStringUsername or slug on the Cal.com platform.Yes
apiKeyStringMasked API key (e.g., cal_****************).Yes
isActiveBooleanDefines if the integration is enabled and functional.Yes
isTokenMaskedBooleanIf true, indicates that the apiKey is not fully visible.Yes
timezoneStringDefault calendar timezone (e.g., UTC).Yes
promptStringFunction Instruction: Commands that guide the AI in scheduling.Yes
checkAvailabilityEnabledBooleanPermission for the AI to consult available times.Yes
createBookingEnabledBooleanPermission for the AI to make meeting bookings.Yes
defaultEventTypeIdNull/NumberDefault event type ID (e.g., 5470074).No
defaultEventTypeSlugNull/StrDefault event type slug (e.g., 30min).No
createdAtStringRecord creation date and time in the system.Yes
updatedAtStringDate and time of the last data update.Yes

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page