Loading...
Started by Amitvikram Dwivedi • Jul 11, 2025 2:21 PM
Total Replies
2
Participants
2
Activity
Quiet
Duration
2:21 PM
Thread starter
https://api.hubapi.com/conversations/v3/custom-channels?hapikey={YOUR_DEVELOPER_API_KEY}&appId={appId}
{
"name": "Test Local HS Channel",
"webhookUrl": "<some url>",
"capabilities": {
"threadingModel": "DELIVERY_IDENTIFIER",
"deliveryIdentifierTypes": [
{"type":"HS_EMAIL_ADDRESS","value":"<some email"}
],
"richText": [
"HYPERLINK",
"TEXT_ALIGNMENT",
"BLOCKQUOTE",
"BOLD",
"ITALIC",
"LISTS"
],
"allowInlineImages": false,
"allowOutgoingMessages": true,
"outgoingAttachmentTypes": [
"FILE"
],
"allowedFileAttachmentMimeTypes": [
"image/png"
],
"maxFileAttachmentCount": 1,
"maxFileAttachmentSizeBytes": 1500000,
"maxTotalFileAttachmentSizeBytes": 1500000
},
"channelAccountConnectionRedirectUrl": "<some url>",
"channelDescription": "Respond to prioritized messages via our custom channel",
"channelLogoUrl": "<some url>"
}{
"status": "error",
"message": "One or more Channel Capabilities specified had invalid values: `\"deliveryIdentifierTypes\": \"[{\"type\":\"HS_EMAIL_ADDRESS\",\"value\":\"<some email\"}]\"`",
"correlationId": "0e2b1c3c-6874-4878-9821-826922c48a4f",
"context": {
"capabilityKeysAndValues": [
"\"deliveryIdentifierTypes\": \"[{\"type\":\"HS_EMAIL_ADDRESS\",\"value\":\"<some email\"}]\""
]
},
"category": "VALIDATION_ERROR",
"subCategory": "CustomChannelsError.INVALID_CHANNEL_CAPABILITY_VALUES""deliveryIdentifierTypes": [
{
"type": "HS_EMAIL_ADDRESS",
"value": "<some email>//used the correct email here"
}
],
"deliveryIdentifierTypes": [ "EMAIL"]
"deliveryIdentifierTypes": [
{
"type": "DELIVERY_IDENTIFIER",
"value": "thread_id"
}
],
deliveryIdentifierTypes?2 messages in thread