cURL
curl --request GET \ --url https://statsigapi.net/console/v1/users/id/{id} \ --header 'STATSIG-API-KEY: <api-key>'
{ "message": "User read successfully.", "data": { "email": "[email protected]", "firstName": "test", "lastName": "user", "role": "admin" } }
Optional header to respect review settings for mutation endpoints.
id
Get user response
A simple string explaining the result of the operation.
A single result.
Show child attributes
The email address of the user.
The user's first name.
The user's last name.
The user's role, which can be 'Admin', 'Read Only', 'Member', or any custom role name.
Was this page helpful?