Skip to content

Get current user

GET
/me
curl --request GET \
--url https://example.com/api/v1/me \
--header 'Authorization: Bearer <token>'

Returns the authenticated user’s profile, MFA status, linked SSO providers, and avatar URL.

Authenticated user profile

Media typeapplication/json

Profile and authentication state of the signed-in user.

object
email
required
string
hasPassword
required

Whether the account has a password credential configured.

boolean
id
required
string
mfaEnabled
required

Whether TOTP two-factor authentication is enrolled.

boolean
name
required
string
photo
required

URL path to the user’s avatar (e.g. /api/v1/me/photo?v=...) or SSO profile photo, or null.

Any of:
string
ssoProviders
required

External SSO providers linked to this account.

Array<string>
Allowed values: google microsoft

Example

{
"email": "alex@acme.io",
"hasPassword": true,
"id": "u_01j9abc",
"mfaEnabled": true,
"name": "Alex Rivera",
"photo": "/api/v1/me/photo?v=2026-11-01T12%3A00%3A00.000Z",
"ssoProviders": [
"google"
]
}

Authentication required or credentials invalid.

Media typeapplication/json

Standard REST error envelope.

object
code
required

Machine-readable error code.

string
data

Optional structured error details.

message
required

Human-readable error explanation.

string

Example generated

{
"code": "example",
"data": "example",
"message": "example"
}

Unexpected server error. Quote data.requestId when you report it.

Media typeapplication/json

Error returned when Sendcrate or one of its providers fails (5xx).

object
code
required
string
Allowed values: INTERNAL_SERVER_ERROR PROVIDER_FAILED
data
object
debug

Error chain with stack traces. Present only when the server runs in development mode.

Array
requestId

Request reference to quote when you report the error.

string
message
required

Human-readable error explanation.

string

Example

{
"code": "INTERNAL_SERVER_ERROR"
}