Hi Nirav,
Thank you for the clarification.
In this case, since the LDAP_ID is mapped directly to the Genesys user Title field, you can use the Users Search API to retrieve the user details based on the title value.
You can use the API below to search for users by Title:
curl -X POST 'https://api.<your-region>/api/v2/users/search' \
-H 'Authorization: Bearer *******************************************************************************' \
-H 'Content-Type: application/json' \
--data-raw $'{
"sortOrder":"ASC",
"sortBy":"name",
"pageSize":50,
"pageNumber":1,
"query":[
{
"values":["<LDAP_ID>"],
"fields":["title"],
"type":"EXACT"
}
]
}'
From the response, you should be able to retrieve details such as:
- User ID
- Name
- Email
- Username
- Other user attributes
You can configure this API as a Data Action and pass the LDAP_ID dynamically from Architect to fetch the corresponding agent details.
Hope this helps.
------------------------------
Muhammed Shibil
Senior Software Engineer
Feebak : The Voice of Customer
------------------------------
Original Message:
Sent: 05-26-2026 03:24
From: Nirav Kumarsahu
Subject: Retrieve user details based on the user's title or LDAP_ID
Hello Muhammed,
The LDAP_ID is stored externally in the customer database and retrieved through the customer API. Once the LDAP_ID is returned from the database, it must be passed as input to obtain the agent's email. The LDAP_ID corresponds directly to the Genesys user title. I have attached the screenshot for your reference.
Thanks
Nirav
------------------------------
Nirav Kumarsahu
Customer Solution Design Professional
Original Message:
Sent: 05-26-2026 02:44
From: Muhammed Shibil
Subject: Retrieve user details based on the user's title or LDAP_ID
Hi Nirav,
Could you please provide a bit more clarity on how the LDAP_ID is being stored against the user in your setup?
Are you:
- Storing the LDAP_ID in any custom field/attribute for the Genesys user?
- Referring to standard fields like Email or Full Name?
- Or using the native Genesys User ID/Employee ID as the identifier?
The reason for asking is that Genesys Cloud APIs/Data Actions can retrieve user details only based on the attributes that are actually available and searchable within Genesys Cloud. If the LDAP_ID or Title is stored externally (for example, only in your customer DB or Data Table), then a direct Genesys API lookup may not be possible unless that value is synchronized into Genesys user attributes or an external service/API.
If you can share a bit more about where and how the LDAP_ID/Title is maintained, the community may be able to suggest a better approach.
------------------------------
Muhammed Shibil
Senior Software Engineer
Feebak : The Voice of Customer
Original Message:
Sent: 05-21-2026 03:34
From: Nirav Kumarsahu
Subject: Retrieve user details based on the user's title or LDAP_ID
Hello Team,
In Architect flows, we currently retrieve the LDAP_ID or Title from the customer database and use a Data Table to look up agent details such as Agent Name and Email based on LDAP_ID or Title.
We are now exploring a solution to retrieve agent details (e.g., Agent Name, Agent ID, and Email) using a Data Action by passing the LDAP_ID or Title. I have reviewed the API documentation but could not find a suitable API that supports lookup using LDAP_ID or Title.
Has anyone implemented this approach before, or is there a recommended solution to retrieve user details based on LDAP_ID or Title?
#DataActions
------------------------------
Nirav Kumarsahu
Customer Solution Design Professional
------------------------------