Get metadata about a user by their user_id or email. Either user_id or email must be provided, but not both.
cURL
curl --request GET \ --url https://public.api.serval.com/v1/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "email": "<string>", "organizationId": "<string>" }'
{ "userId": "<string>", "firstName": "<string>", "lastName": "<string>", "email": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
The response is of type object.
object