Skip to content

Get the authenticated user

GET
/api/v1/auth/me
Code sample: cURL
curl -X GET 'https://api.justcrawl.io/api/v1/auth/me' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Returns the user behind the presented credential. Use it to confirm an API key or access token is still valid and to read the current email-verification state without a re-login. The user shape matches the one returned by POST /api/v1/auth/login.

The authenticated user.

Media typeapplication/json
object
user
object
id
string format: uuid
email
string format: email
name
string
nullable
emailVerifiedAt

Null until the user verifies their email address.

string format: date-time
nullable
Examplegenerated
{
"user": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"email": "hello@example.com",
"name": "example",
"emailVerifiedAt": "2026-04-15T12:00:00Z"
}
}

Missing or invalid authentication token

Media typeapplication/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

The token authenticated, but its subject no longer exists — a deleted account whose access token has not yet expired.

Unexpected server error. Logs and PostHog $exception capture

Media typeapplication/json
object
error
string
Example
{
"error": "Something went wrong"
}