Contact list data API on call assignment

I have a customer that wants to pull Contact List Data through an API after the Outbound call is assigned to an agent. Is there an API that can pull the data in real time? Customer is not using GC scripting

Hi @Kleid_Gjataj1
You can use GET /api/v2/externalcontacts/contacts. If you're wanting the info for the contact being called, you can put search criteria such as phone number in the "q" request field

Yes, the outbound contact information is on the conversation detail or in the websocket topic for the agent's conversations

"attributes": {
"scriptId": "052bc23e-0f38-4c60-b71a-2088b3576b43",
"dialerContactId": "1004",
"dialerContactListId": "0964109a-8c7d-4f34-9523-60168132e80b",
"dialerInteractionId": "7f31b9c6-afce-4f37-bb83-70662866f7fd",
"dialerCampaignId": "1a0514cf-1cd8-40e5-9f06-3e83aba3225f"
},

Thanks,
Peter

Thanks Peter. Do you know if that includes all the fields stored in the Contact List (EG First name, last name etc)? and do you know if the data is populated before the call is assigned/answered by an agent?

It loolks like once we have the DialerContactId and DailerContactListId... we can pull the Contact Details using this API
https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-outbound-contactlists--contactListId--contacts--contactId-

1 Like

Hi Keid,

Your second statement is correct. - once you know those fields (contactID and Contactlist ID), you can get the rest of the data.

Thanks,
Peter

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