AI configuration

Switch the AI or automations on a channel

Send ai_enabled and/or automation_enabled. Turning anything off always works. Turning SMS AI on is refused with 409 while inbound body purge is on, or until carrier registration assigns a Messaging Service. Never touches any other setting. Requires the admin scope.

patch/ai/channels/{channel}

Request

  • Base URL: https://sumgenius.ai/api/v1
  • URL: https://sumgenius.ai/api/v1/ai/channels/{channel}
  • Auth: one of:
    • API key in header X-SumGenius-Api-Key
    • HTTP bearer

Path parameters

channel'meta' | 'facebook' | 'instagram' | 'sms' | 'whatsapp' | 'telegram' required

meta, sms, whatsapp or telegram. facebook and instagram are accepted as aliases of meta.

Request body

ai_enabledboolean
automation_enabledboolean

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.