curl --request PATCH \
--url https://api.hubapi.com/conversations/v3/custom-channels/{channelId} \
--header 'Content-Type: application/json' \
--data '{
"channelDescription": {},
"capabilities": "{\"richText\":[\"HYPERLINK\",\"TEXT_ALIGNMENT\",\"BLOCKQUOTE\"],\"threadingModel\":\"DELIVERY_IDENTIFIER | INTEGRATION_THREAD_ID\",\"allowInlineImages\":false,\"allowOutgoingMessages\":false,\"allowConversationStart\":false,\"maxFileAttachmentCount\":1,\"allowMultipleRecipients\":false,\"deliveryIdentifierTypes\":[],\"outgoingAttachmentTypes\":[\"FILE\"],\"maxFileAttachmentSizeBytes\":1500000,\"allowedFileAttachmentMimeTypes\":[\"image/png\"],\"maxTotalFileAttachmentSizeBytes\":1500000}",
"channelAccountConnectionRedirectUrl": {},
"channelLogoUrl": {},
"name": {},
"webhookUrl": {}
}'
{
"channelDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"capabilities": "{\"richText\":[\"HYPERLINK\",\"TEXT_ALIGNMENT\",\"BLOCKQUOTE\"],\"threadingModel\":\"DELIVERY_IDENTIFIER | INTEGRATION_THREAD_ID\",\"allowInlineImages\":false,\"allowOutgoingMessages\":false,\"allowConversationStart\":false,\"maxFileAttachmentCount\":1,\"allowMultipleRecipients\":false,\"deliveryIdentifierTypes\":[],\"outgoingAttachmentTypes\":[\"FILE\"],\"maxFileAttachmentSizeBytes\":1500000,\"allowedFileAttachmentMimeTypes\":[\"image/png\"],\"maxTotalFileAttachmentSizeBytes\":1500000}",
"channelAccountConnectionRedirectUrl": "<string>",
"channelLogoUrl": "<string>",
"name": "<string>",
"id": "<string>",
"webhookUrl": "<string>"
}
Update the capabilities for an existing. You can also use it to update the channel’s webhookUri and its channelAccountConnectionRedirectUrl.
curl --request PATCH \
--url https://api.hubapi.com/conversations/v3/custom-channels/{channelId} \
--header 'Content-Type: application/json' \
--data '{
"channelDescription": {},
"capabilities": "{\"richText\":[\"HYPERLINK\",\"TEXT_ALIGNMENT\",\"BLOCKQUOTE\"],\"threadingModel\":\"DELIVERY_IDENTIFIER | INTEGRATION_THREAD_ID\",\"allowInlineImages\":false,\"allowOutgoingMessages\":false,\"allowConversationStart\":false,\"maxFileAttachmentCount\":1,\"allowMultipleRecipients\":false,\"deliveryIdentifierTypes\":[],\"outgoingAttachmentTypes\":[\"FILE\"],\"maxFileAttachmentSizeBytes\":1500000,\"allowedFileAttachmentMimeTypes\":[\"image/png\"],\"maxTotalFileAttachmentSizeBytes\":1500000}",
"channelAccountConnectionRedirectUrl": {},
"channelLogoUrl": {},
"name": {},
"webhookUrl": {}
}'
{
"channelDescription": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"capabilities": "{\"richText\":[\"HYPERLINK\",\"TEXT_ALIGNMENT\",\"BLOCKQUOTE\"],\"threadingModel\":\"DELIVERY_IDENTIFIER | INTEGRATION_THREAD_ID\",\"allowInlineImages\":false,\"allowOutgoingMessages\":false,\"allowConversationStart\":false,\"maxFileAttachmentCount\":1,\"allowMultipleRecipients\":false,\"deliveryIdentifierTypes\":[],\"outgoingAttachmentTypes\":[\"FILE\"],\"maxFileAttachmentSizeBytes\":1500000,\"allowedFileAttachmentMimeTypes\":[\"image/png\"],\"maxTotalFileAttachmentSizeBytes\":1500000}",
"channelAccountConnectionRedirectUrl": "<string>",
"channelLogoUrl": "<string>",
"name": "<string>",
"id": "<string>",
"webhookUrl": "<string>"
}
successful operation
The response is of type object
.
Was this page helpful?