AgentIntegrationCreate
Binds an agent to a company integration (a calendar), with the calendar configuration the agent uses for booking.
ID of the agent (a configured AI assistant / bot persona) this record belongs to.
ID of the company integration this binding connects the agent to.
config objectrequired
Calendar configuration for this agent (bookable accounts, services, scheduling).
true16830Number of upcoming working days during which all calendar slots are hidden and booking attempts are rejected. The current day counts when it is a configured working day; 0 disables the restriction.
Possible values: >= 0
0Maximum active meetings the agent may book across all configured calendar accounts on one local calendar day. 0 means unlimited.
Possible values: >= 0
0Step, in minutes, used when generating possible meeting start times inside a free calendar window. This is separate from meeting_duration_minutes.
Possible values: > 0
5trueMeeting with Lead (auto)trueaccounts object
property name* CalendarAccountConfig
account objectrequired
A bookable calendar account (e.g. a sales manager's calendar) exposed by a calendar integration.
The account's id at the calendar provider.
The account's display name.
IDs of the bookable services enabled for this account.
schedule object
Maps each weekday to its working-hours configuration.
days objectrequired
Map of weekday ("0"=Monday … "6"=Sunday) to that day's working-hours config.
property name* ScheduleDayConfig
Working-hours configuration for a single weekday.
Whether messages may be sent on this day.
Start of the working window, "HH:MM" (24h).
00:00End of the working window, "HH:MM" (24h).
00:00Europe/Moscowcrm_id object
Identifier of the matching record in the connected external CRM, if any.
- string
- null
static_meeting_link object
- string
- null
falsetruetruefalseservices object[]
The service's id at the calendar provider.
The service's display name.
category_id object
Optional category id the service belongs to.
- string
- null
llm_context object
Optional description given to the LLM to help it pick this service.
- string
- null
Whether the service is currently bookable.
truereminders object[]
source objectrequired
Specifies the content of a message to send, by reference to exactly one source — raw text, a prompt, a prepared message, a WABA template, or file(s).
text object
- string
- null
prompt_id object
- integer
- null
prompt_version_id object
- integer
- null
prepared_message_id object
- integer
- null
waba_template_id object
- integer
- null
caption object
- string
- null
{
"agent_id": 0,
"integration_id": 0,
"config": {
"enabled": true,
"max_lookahead_hours": 168,
"meeting_duration_minutes": 30,
"booking_lead_time_working_days": 0,
"daily_booking_limit": 0,
"slot_step_minutes": 5,
"attach_crm_link_to_event": true,
"title": "Meeting with Lead (auto)",
"create_description_summary": true,
"accounts": {},
"service_selector_subagent_enabled": false,
"services": [
{
"id": "string",
"name": "string",
"category_id": "string",
"llm_context": "string",
"is_enabled_in_calendar": true
}
],
"reminders": [
{
"step_number": 0,
"before_minutes": 0,
"source": {
"text": "string",
"prompt_id": 0,
"prompt_version_id": 0,
"prepared_message_id": 0,
"waba_template_id": 0,
"file_ids": [
0
],
"caption": "string"
}
}
]
}
}