id string required
Unique identifier for the agent.
Example: emp_123
name string required
Example: John Doe
businessName string
Name of the business the agent represents.
Example: Tech Corp
mode string required
Current operating mode of the agent.
Available options offsuggestiveauto-pilot
Example: auto-pilot
channels string[] required
Communication channels the agent operates on.
Available options IGFBSMSWebChatWhatsAppLive_ChatEmail
Example: ["SMS","Live_Chat"]
waitTime number required
Wait time before agent responds.
Example: 30
waitTimeUnit string required
Available options minutesseconds
Example: seconds
sleepEnabled boolean required deprecated
Indicates if sleep functionality is enabled.
Example: false
sleepOnManualMessage boolean
Whether the bot sleeps on manual outbound messages.
Example: false
sleepOnWorkflowMessage boolean
Whether the bot sleeps on workflow outbound messages.
Example: false
sleepTime number
Duration of sleep period.
Example: 2
sleepTimeUnit string
Available options hoursminutesseconds
Example: hours
emailWaitTime number
Email-specific wait time (max 12 hours).
Example: 1
emailWaitTimeUnit string
Unit for email wait time.
Available options secondsminuteshours
Example: hours
emailSettings object
Email channel formatting settings.
actions object[] required
List of actions associated with this agent.
Show child attributesactions[]. idstring required
Unique identifier for the action.
Example: actionId123
actions[]. typestring required
Available options triggerWorkflowupdateContactFieldappointmentBookingstopBothumanHandOveradvancedFollowuptransferBotcustomApi
Example: triggerWorkflow
isPrimary boolean required
Indicates if this agent is a primary agent.
Example: false
autoPilotMaxMessages number required
Maximum number of messages in auto-pilot mode before requiring human intervention.
Example: 25
goal string
Example: Assist customers with inquiries
personality string
Personality traits of the agent.
Example: Friendly and helpful
instructions string
Instructions for the agent.
Example: Provide excellent customer service
fullPrompt string
Complete agent prompt when stored; when set and non-empty, used as the source of truth at generation time.
knowledgeBaseIds string[]
Array of knowledge base IDs associated with this agent.
Example: ["kb_123","kb_456"]
knowledgeBaseTriggers object[]
Knowledge base trigger configurations
Show child attributesknowledgeBaseTriggers[]. idstring required
Unique trigger ID (UUID v4)
Example: 550e8400-e29b-41d4-a716-446655440000
knowledgeBaseTriggers[]. modestring required
"all" matches every query; "custom" is conditional
Available options allcustom
knowledgeBaseTriggers[]. knowledgeBaseIdsstring[] required
KB IDs assigned to this trigger (max 7 for "all", max 5 for "custom")
Example: ["kb_001"]
knowledgeBaseTriggers[]. triggerConditionstring required
Free-text condition (empty string for "all" mode, required for "custom")
Example: When the customer asks about pricing or billing
knowledgeBaseTriggers[]. prioritynumber required
Priority (lower number = higher priority). Custom-mode triggers must use unique values in 1-3; priority 4 is reserved for the all-mode fallback trigger.
Example: 2
workingHours object nullable
Working-hours schedule for this agent, or null when not configured. Manage it via the /working-hours routes.
Show child attributesworkingHours. enabledboolean required
Master toggle for working hours.
Example: false
workingHours. channelsstring[] required
Channels the gate applies to. Must be non-empty when enabled.
Available options SMSEmailWhatsAppIGFBWebChatLive_ChatTIKTOK
Example: ["SMS","WhatsApp"]
workingHours. timezoneModestring required
Available options contactbusiness
workingHours. scheduleobject required
Show child attributesworkingHours.schedule. monobject required
Show child attributesworkingHours.schedule.mon. enabledboolean required
Example: true
workingHours.schedule.mon. slotsobject[] required
Show child attributesworkingHours.schedule.mon.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.mon.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.mon.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.mon.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. tueobject required
Show child attributesworkingHours.schedule.tue. enabledboolean required
Example: true
workingHours.schedule.tue. slotsobject[] required
Show child attributesworkingHours.schedule.tue.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.tue.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.tue.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.tue.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. wedobject required
Show child attributesworkingHours.schedule.wed. enabledboolean required
Example: true
workingHours.schedule.wed. slotsobject[] required
Show child attributesworkingHours.schedule.wed.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.wed.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.wed.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.wed.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. thuobject required
Show child attributesworkingHours.schedule.thu. enabledboolean required
Example: true
workingHours.schedule.thu. slotsobject[] required
Show child attributesworkingHours.schedule.thu.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.thu.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.thu.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.thu.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. friobject required
Show child attributesworkingHours.schedule.fri. enabledboolean required
Example: true
workingHours.schedule.fri. slotsobject[] required
Show child attributesworkingHours.schedule.fri.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.fri.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.fri.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.fri.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. satobject required
Show child attributesworkingHours.schedule.sat. enabledboolean required
Example: true
workingHours.schedule.sat. slotsobject[] required
Show child attributesworkingHours.schedule.sat.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.sat.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.sat.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.sat.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule. sunobject required
Show child attributesworkingHours.schedule.sun. enabledboolean required
Example: true
workingHours.schedule.sun. slotsobject[] required
Show child attributesworkingHours.schedule.sun.slots[]. startHournumber required
Possible values: >= 0 and <= 23
Example: 9
workingHours.schedule.sun.slots[]. startMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours.schedule.sun.slots[]. endHournumber required
Possible values: >= 0 and <= 23
Example: 17
workingHours.schedule.sun.slots[]. endMinutenumber required
Possible values: >= 0 and <= 59
Example: 0
workingHours. continueConversationsobject required
Show child attributesworkingHours.continueConversations. enabledboolean required
Example: true
workingHours.continueConversations. inactivityTimeoutobject required
Show child attributesworkingHours.continueConversations.inactivityTimeout. valuenumber required
5–1440 for minutes, 1–24 for hours (5 min – 24 h). Exact bound depends on unit.
Possible values: >= 1 and <= 1440
Example: 15
workingHours.continueConversations.inactivityTimeout. unitstring required
Available options minuteshours
workingHours. offHoursAutoReplyobject required
Show child attributesworkingHours.offHoursAutoReply. enabledboolean required
Example: false
workingHours.offHoursAutoReply. messagestring required
Example: Thanks for reaching out! We're currently outside of business hours.
workingHours.offHoursAutoReply. sendNotificationboolean
Example: false
workingHours.offHoursAutoReply. notificationConfigobject nullable
Show child attributesworkingHours.offHoursAutoReply.notificationConfig. emailNotificationobject required
Show child attributesworkingHours.offHoursAutoReply.notificationConfig.emailNotification. enabledboolean
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. notifyAdminsboolean required
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. notifyAllUsersboolean required
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. notifyAssignedUserboolean required
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. notifySpecificUsersboolean required
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. specificUserIdsstring[] required
Example: []
workingHours.offHoursAutoReply.notificationConfig.emailNotification. notifyCustomEmailboolean required
Example: false
workingHours.offHoursAutoReply.notificationConfig.emailNotification. customEmailstring required
Comma-separated emails. May be empty; a blank value simply yields no custom recipient.
Example:
workingHours.offHoursAutoReply.notificationConfig. contactTagsstring[] required
Example: []
workingHours. followUpobject required
Show child attributesworkingHours.followUp. enabledboolean required
Example: false
workingHours.followUp. messagestring required
Example: Hi {{contact.name}}, we're here now and happy to help.
workingHours. employeeIdstring required
AI employee id this config belongs to.
Example: wK36brxPYCOikC85FkbA
workingHours. createdAtstring<date-time>
workingHours. updatedAtstring<date-time>
ISO-8601 last-update time.