AWS Connect - Contact Search API

1

Hi, Is there available API (AWS SDK) for getting all the contacts details use in Contact Search page in AWS Connect url - https://example-ste.my.connect.aws/contact-search or i could use this api endpoint (https://example-ste.my.connect.aws/contact-search/api/search/contacts) in my server?

asked a year ago1252 views
2 Answers
1

We just launched an API to search for contacts similar to the functionality provided by Contact Search.

API Documentation: https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchContacts.html

What's New Post: https://aws.amazon.com/about-aws/whats-new/2023/12/amazon-connect-contact-lens-api-search-contacts/

AWS
answered 4 months ago
  • Will it allow you to search via system phone number do you know?

0

there is no API to do a search like Contact Search. But if you have a specific Contact ID that you want to get more detail information.

You can use these two API to get most of the details: https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeContact.html https://docs.aws.amazon.com/connect/latest/APIReference/API_GetContactAttributes.html

And make sure to enable Kinesis to get your Contact Records to your S3, as well as other related items like Contact Lens and Agent evaluations to get the full details as you see in the Contact Search UI.

profile pictureAWS
answered a year ago
  • Hi, Thank you for answering my question. I am using these endpoint, these endpoint has detail limitations. Do you have any idea for me to get the other details of a specific contact? I need to get the 'Customer phone number'.

  • Even with the new SearchContacts API, it still does not return the customer phone number. One workaround I have seen is to explicitly use Set Contact Attribute to create a User Defined field for the customer phone number like custPhone. Then once you get the list of contactID base on your search, you can use getContactAttribute to get the custPhone value that you set.

    Since the customer phone number is a sensitive value, do be careful handling this info.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions