Skip to main content
GET
/
v3
/
whoami
Get current user
curl --request GET \
  --url https://api.reply.io/v3/whoami \
  --header 'Authorization: Bearer <token>'
{
  "userId": 123,
  "username": "<string>"
}

Authorizations

Authorization
string
header
required

Authenticate every request with a Bearer token. Pass your Reply API key in the Authorization header:

Authorization: Bearer <your-api-key>

Get your API key from the Reply dashboard: Settings → API Key.

Response

Current user info retrieved successfully

userId
integer
required

The authenticated user's ID

username
string
required

The authenticated user's username