converstations API webhook event missing sender name

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”

}

}

],

Hi @BYee and welcome, we are so glad to have you here! :hugs:
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! :heart:
Bérangère

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.