Kleid_Gjataj1 | 2022-11-15 22:46:45 UTC | #1
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
jacobshaw | 2022-11-16 21:24:10 UTC | #2
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
78692638d4a24645fbf5 | 2022-11-16 22:12:40 UTC | #3
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
Kleid_Gjataj1 | 2022-11-16 22:28:18 UTC | #4
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?
Kleid_Gjataj1 | 2022-11-16 22:35:19 UTC | #5
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-
78692638d4a24645fbf5 | 2022-11-16 23:05:44 UTC | #6
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
system | 2022-12-17 23:06:06 UTC | #7
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 17235