Get User Information
Use the get user information request to get the basic information for users using their user IDs.
Endpoint
Method: POST
URL: /user/info
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| Array | Enter one or more user IDs for the users that you want to get the basic information for. | Required |
For an example request, see Sample Request.
Response and Error Code
Response Code | Condition |
---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
---|---|---|
| Array | A list of the users whose IDs were specified in the request body, and their basic information, consisting of the following parameters in this table. |
| String | The ID of the user, this will match one of the IDs specified in the path parameter. |
| String | The email address of the user. |
| String | The full name of the user. |
| String | The business unit that the user belongs to. |
For an example response, see Sample Response.
Sample Request
{ "userIds": [ "auth0|735ujf53h235bn09835d984h", "auth0|6458022hj76dae9f1f18a86h" ] }
Sample Response
{ "users": [ { "userId": "auth0|735ujf53h235bn09835d984h", "email": "john.doe@uniphore.com", "fullName": "John Doe", "businessUnit": "Sales" }, { "userId": "auth0|6458022hj76dae9f1f18a86h", "email": "jane.smith@uniphore.com", "fullName": "Jane Smith", "businessUnit": "Support" } ] }