Get current user
const url = 'https://example.com/api/v1/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Authenticated user profile
Profile and authentication state of the signed-in user.
object
Whether the account has a password credential configured.
Whether TOTP two-factor authentication is enrolled.
External SSO providers linked to this account.
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.
Standard REST error envelope.
object
Machine-readable error code.
Optional structured error details.
Human-readable error explanation.
Example generated
{ "code": "example", "data": "example", "message": "example"}Unexpected server error. Quote data.requestId when you report it.
Error returned when Sendcrate or one of its providers fails (5xx).
object
object
Error chain with stack traces. Present only when the server runs in development mode.
Request reference to quote when you report the error.
Human-readable error explanation.
Example
{ "code": "INTERNAL_SERVER_ERROR"}