Skip to Content
TalonAPI and integrationsPublic M2M APIPublic M2M API — channel

Public M2M API — channel

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/channel

Exported methods: GET, POST, PATCH

GET

  • Resource scopes: config:read
  • Response keys observed across outcomes: data

POST

  • Resource scopes: config:write
  • Explicit response statuses: 201, 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: channel, channelType, enabled, name, provisionedAt

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
autoReplybooleanYesNo——
channelTypeenumNoNowhatsapp, webchat, voice—
enabledbooleanYesNo——
namestringYesNo—min(1), max(120)
phoneNumberstringYesNo——

PATCH

  • Resource scopes: config:write
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: ok, orgId, updated, updatedAt

Send a JSON object. This handler echoes it in updated and does not persist channel configuration; verify configuration through the appropriate settings workflow.