What does 'communicationId' refer to?

I'm trying to do a PUT /api/v2/externalcontacts/conversations/{conversationId}
to associate a known external contact to a voice conversation.
Among required parameters is 'communicationId'.
I could not found any info on this id and it is not showing up if I retrieve a simple voice interaction.
Does anyone have info on that one ?
Thanks

3 Likes

The communicationID should be part of the conversation object, but it's a little tricky to find it there. For voice conversations, you should see it as the ID under "calls." For emails, you should see it as the ID under "emails," and similarly for other types of conversations.

Let me know if that works.

Sorry for the late feedback and thanks for your answer.
Could you please confirm this is the 'id' field as shown below (coming from /api/v2/conversations/{conversationId} ) ?

"calls": [
{
"state": "disconnected",
"id": "e46f3161-fc30-40bb-adc0-3375d4a7775c",
"direction": "inbound",
"recording": false,

thanks for your help

Yes, that appears to be the right ID for calls. For emails, it'd just be nested under "emails" instead of "calls."

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.