Skip to main content
Version: 2021-04-15

Update Agent Working Hours

PUT 

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

Fully replaces the working-hours configuration for an AI agent. Returns 404 when none exists yet — use the create endpoint first. This is a replace, not a merge: omitted fields are not preserved.

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