Example Usage

import { ChannelTargetCreateRequest } from "syllable-sdk/models/components";

let value: ChannelTargetCreateRequest = {
  agentId: 929530,
  channelId: 669917,
  target: "<value>",
  targetMode: "email",
};

Fields

FieldTypeRequiredDescription
agentIdnumberTRUEThe ID of the agent associated with the channel target
channelIdnumberTRUEThe ID of the channel associated with the channel target
targetstringTRUEThe name of the channel target (must correspond to an organization-level target)
targetModecomponents.TargetModesTRUEAvailable modes (communication methods) for channel targets.
fallbackTargetstringFALSEThe fallback for the channel target (currently only supported for “voice” mode)
isTestbooleanFALSEWhether the channel target is intended for testing. If true, any sessions created through this target will be labeled as test.