APIs & Integrations

BYee
Member

converstations API webhook event missing sender name

SOLVE

Hello, 

 

I have a custom channel setup using the Conversations API and I have everything flowing just fine and receiving messages via the webhook URL, however inconviently there is no "name" data being sent back for the "sender" or the "receiver", only "actorId" fields.  Is there any way to get the actual name without having to make another API call??

example data I'm seeing:

 

"senders": [
{
"actorId": "A-12345678",
"deliveryIdentifier": {
"type": "HS_EMAIL_ADDRESS",
"value": "support@example.com"
}
}
],
"recipients": [
{
"actorId": "V-1232423424242",
"deliveryIdentifier": {
"type": "HS_EMAIL_ADDRESS",
"value": "foo@bar.com"
}
}
],
0 Upvotes
1 Accepted solution
Bortami
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

converstations API webhook event missing sender name

SOLVE

Unfortunately, you do have to make another API call. There are no settings when subscribing to webhooks to set which fields to return. That would be really cool though! I encourage you to submit this idea to the idea forums.

View solution in original post

0 Upvotes
2 Replies 2
Bortami
Solution
Top Contributor | Elite Partner
Top Contributor | Elite Partner

converstations API webhook event missing sender name

SOLVE

Unfortunately, you do have to make another API call. There are no settings when subscribing to webhooks to set which fields to return. That would be really cool though! I encourage you to submit this idea to the idea forums.

0 Upvotes
BérangèreL
Community Manager
Community Manager

converstations API webhook event missing sender name

SOLVE

Hi @BYee and welcome, we are so glad to have you here! 🤗

Great question, thanks for asking the HubSpot Community!

I'd love to put you in touch with our Top Experts: Hi @TobinFekkes, @BullJets12, @CSamarakoon, @BMUribe, @sylvain_tirreau, @Anton and @Bortami do you have suggestions for this specific use case to help @BYee, please?
 

Have a wonderful day and thanks so much for your help! ❤️
Bérangère


HubSpot’s AI-powered customer agent resolves up to 50% of customer queries instantly, with some customers reaching up to 90% resolution rates.
Learn More.


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres! !
0 Upvotes