Get user ID and name pairs for the current company
GET
/openapi/user/id_name
const url = 'https://open-api.replyco.com/openapi/user/id_name';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://open-api.replyco.com/openapi/user/id_name \ --header 'Authorization: Bearer <token>'Returns a simplified list of all users in the authenticated user’s company. Each entry contains only the user ID and full name.
Use cases:
- Populating user selection dropdowns
- Assigning tickets to users
- Quick user lookups
Note: Only returns active users in the company.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Returns the list of user ID and name pairs
User is not authenticated or authorized
User does not have permission to view company users