I get an error when I use the Create a channel account api, and the message is:
{“status”:“error”,“message”:“internal error”,“correlationId”:“70bb72d8-7fcd-474d-8a28-22dd5cb6af87”}
url = f"https://api.hubapi.com/conversations/v3/custom-channels/{channelId}/channel-accounts"
method=‘POST’
Hey, @jackey-jackey
Thanks for posting! Can you share an example request body, please? It will help in trying to reproduce the error.
Thanks! — Jaycee
Because I’m worried about data leakage, I have encrypted the channel_id and InboxId. If you need the exact IDs, can we contact each other via email?
- Method: POST
- ChannelId: 7465xx
- InboxId: 21916xx
- DeliveryIdentifier: {“type”: “string”, “value”: “Kun.Jing@advyzon.com”}
- URL: fhttps://api.hubapi.com/conversations/v3/custom-channels/7465xx/channel-accounts
- payload = {
“authorized”: True,
“name”: “jackey-channel”,
“deliveryIdentifier”: {“type”: “string”, “value”: “Kun.Jing@advyzon.com”},
“inboxId”: 21916xx
}
In case anyone else comes across this post, two things to verify are:
- your account subscription (these endpoints are limited to Sales Hub — Enterprise and Service Hub — Enterprise)
- these endpoints require you to use a Developer API key and not the typical OAuth or Private App auth methods
Best,
Jaycee