GPTMaker icon

GPTMaker

Consume GPTMaker API

Channel → Update Config

AI-generated

Summary

Updates channel config at /v2/channel/{channelId}/config via PUT with specified config fields

Inputs

  • channelId (required) — Channel ID used as path parameter; required for the API endpoint
  • configFields — Fixed collection of config fields to send; only added fields are included in the request body; fields vary by channel type

Output shape

API response from PUT /v2/channel/{channelId}/config

At least one config field must have a non-empty value; empty string fields in the nullable set (audioAction, startTrigger, endTrigger, replyGroupsType, callRejectMessage, takeOutsideServiceMember, takeOutsideServiceCommand, takeOutsideServiceMessage, takeOutsideServiceReturnMessage, waitingMessageText, commentsReplyAllInstruction, commentsCallDirectInstruction) are sent as null; other empty strings are omitted

Examples

Example 1: Update channel config with audio action and tenant

channelId: 'CH12345', configFields: { audioAction: 'record', tenant: 'my-tenant' }

Links

Discussion