Skip to main content
Version: 2021-04-15

Create Agent Working Hours

POST 

/conversation-ai/agents/:agentId/working-hours

Creates the working-hours configuration for an AI agent. Returns 409 when one already exists — use the update endpoint to replace it.

Request

Version stringrequired

API Version

Available options2021-04-15
agentId stringrequired

Conversations AI agent id

application/json

Bodyrequired

    enabledbooleanrequired

    Master toggle for working hours.

    channelsstring[]required

    Channels the gate applies to. Must be non-empty when enabled.

    Available optionsSMSEmailWhatsAppIGFBWebChatLive_ChatTIKTOK
    timezoneModestringrequired
    Available optionscontactbusiness
    scheduleobjectrequired
    continueConversationsobjectrequired
    offHoursAutoReplyobjectrequired
    followUpobjectrequired
application/json

Successful response

Schema
    dataobjectrequired
    successbooleanrequired