Skip to main content
GET
/
v1
/
users
/
whoami
Get current user information
curl --request GET \
  --url https://api.synack.com/v1/users/whoami \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "slug": "<string>",
  "role": "client",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

User information retrieved successfully

id
string
name
string
email
string
slug
string
role
enum<string>
Available options:
client,
researcher,
admin
created_at
string<date-time>
updated_at
string<date-time>