cURL
curl --request GET \ --url https://api.example.com/users/current \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "username": "<string>", "email": "<string>", "first_name": "<string>", "last_name": "<string>", "phone": "<string>", "description": "<string>", "role": "admin", "is_remote_user": false }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
admin
viewer
editor
remote_user
partner