users
GET /user
Changed onReturns a User object.
Request
- Base URLhttps://api.opal.dev/v1
- AuthHTTP bearer
Query parameters
user_idstring uuid
The user ID of the user.
emailstring
The email of the user. If both user ID and email are provided, user ID will take precedence. If neither are provided, an error will occur.
Response
The user object associated with the passed-in email or ID.
Example response
{
"user_id": "29827fb8-f2dd-4e80-9576-28e31e9934ac",
"email": "john.doe@company.dev",
"full_name": "John Doe",
"first_name": "John",
"last_name": "Doe",
"position": "Engineer"
}Changes
- info
added the optional property
to the response with the status
- info