Channels management
Retrieving channels
Retrieve list of channels
Get workspace channels
Get the channels configured for a workspace
GET/workspaces/{workspaceId}/channels
Authorization
Path parameters
workspaceId*string (uuid)
The ID of the workspace
Query parameters
Response
OK
Body
resultsarray of Channel
nextPageTokenstring
The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display.
Request
Response
Retrieve a specific channel
Get channel
Retrieve a specific workspace channel
GET/workspaces/{workspaceId}/channels/{channelId}
Authorization
Path parameters
workspaceId*string (uuid)
The ID of the workspace
channelId*string (uuid)
The ID for a channel
Response
OK
Body
id*Id-2 (string (uuid))
platformId*Id (string)
Pattern:
^[A-Za-z0-9-]+$
name*Name (string)
connectorId*ConnectorId (string (uuid))
identifierIdentifier (string)
status*Status-2 (enum)
activependingsetting-upfailedinactivedeletedwarning
contactIdentifierKeyOverridenullable ContactIdentifierKeyOverride (string)
Pattern:
^[A-Za-z0-9_-]+$
contactIdentifierFormatOverridenullable ContactIdentifierFormatOverride (object)
platformServiceUrlOverridenullable PlatformServiceUrlOverride (string)
Pattern:
^https://
platformServiceVersionOverridenullable PlatformServiceVersionOverride (enum)
1.0
platformServiceProtocolOverridenullable PlatformServiceProtocolOverride (enum)
httphttps
platformMessageJsonSchemaOverridenullable PlatformMessageJsonSchemaOverride (object)
platformTemplateEngineOverridenullable PlatformTemplateEngineOverride (enum)
defaultliquid
capabilitiesChannelCapabilities (object)
settingsSettings (array of object)
connectionParamsSettings (array of object)
preferencesnullable Preferences (object)
useCaseIdnullable UseCaseId (string)
useCaseTypenullable UseCaseType-2 (enum)
transactionalmarketingconversation
channelMessageTypeChannelMessageType (enum)
promotional2faconversationaltransactionalemergency
suitesarray of SuiteType (enum)
createdAt*string (date-time)
updatedAtstring (date-time)
Request
Response
Check if customer service window is open
For some channels it is only possible to send non template messages if the customer service window is open. The following endpoint will return the expiry time for any active service windows
Get channel details for a contact
Retrieve channel information for a given contact.
GET/workspaces/{workspaceId}/channels/{channelId}/contacts/{contactId}
Authorization
Path parameters
workspaceId*string (uuid)
The ID of the workspace
channelId*string (uuid)
The ID for a channel
contactId*string (uuid)
The ID for a contact
Query parameters
Response
OK
Body
serviceWindowExpireAt*nullable string (date-time)
isPermanentSessionnullable boolean
metadatanullable object
Request
Response
Last updated