Configure chatt2.me Agent settings for a channel
PUT/v1/agent/channels/:applicationChannelId/ai
The workspace and channel must belong to the exact API key application. always_webhook and summary_on_transfer require an active, enabled message webhook. The single transferMode value makes the modes mutually exclusive. The channel has one workspace shared by Agent replies and inactivity automation. Selecting it alone does not enable a feature or create a charge. Inactivity actions run only while enabled is true and follow the configured transferMode for subscribed webhook events. Changing enabled clears active inactivity timers; the next visitor message starts a new timer. Audio transcription can be enabled independently without Agent replies or a workspace. Both minute offsets are measured from the latest visitor message and reset after each new visitor message. When both actions are enabled, closeAfterMinutes must be at least one greater than followUpAfterMinutes. The response supplies the channel limit: 1435 minutes for WhatsApp, Instagram, Messenger, SMS, and Web Chatt2me; 43195 for Telegram. An expired session receives no inactivity notice. Web Chatt2me follow-up needs a connected visitor; a session may close without a delivered notice if the visitor is still offline at the deadline.
Request
Responses
- 200
- 400
- 401
- 404
Saved Agent settings.
Invalid settings, missing workspace, or CHANNEL_MESSAGE_WEBHOOK_REQUIRED, CHANNEL_INACTIVITY_UNAVAILABLE, CHANNEL_INACTIVITY_WORKSPACE_REQUIRED, CHANNEL_INACTIVITY_MINUTES_INVALID, CHANNEL_INACTIVITY_MINUTES_REQUIRED, or CHANNEL_INACTIVITY_CLOSE_AFTER_FOLLOW_UP.
Missing, invalid, expired, or deleted application API key.
Application channel or workspace not found in the API key application.