Get current user
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.factify.com/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "usr_01h2xcejqtf2nbrexx3vqjhp41",
"email": "alice@factify.com",
"display_name": "Alice Chen",
"given_name": "Alice",
"family_name": "Chen"
}Users
Get current user
Returns the authenticated user’s profile.
Only available to user accounts (Cognito session, OAuth, or dev JWT). API-key callers have no user identity and receive 403.
GET
/
v1
/
me
Get current user
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.factify.com/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "usr_01h2xcejqtf2nbrexx3vqjhp41",
"email": "alice@factify.com",
"display_name": "Alice Chen",
"given_name": "Alice",
"family_name": "Chen"
}Authorizations
Bearer authentication using a factapi-issued API key
(ffy_<env>_<base32_uuid><base62_random>). Cookie-based
sessions are accepted automatically by user-facing endpoints
but are not surfaced as an OpenAPI auth scheme.
Response
OK
Profile of the authenticated user. Returned by GET /v1/me and PATCH /v1/me.
TypedID of the user.
Example:
"usr_01h2xcejqtf2nbrexx3vqjhp41"
User's email address.
Example:
"alice@factify.com"
Display name shown in the UI. Always present.
Example:
"Alice Chen"
Given (first) name. Null when unknown.
Example:
"Alice"
Family (last) name. Null when unknown.
Example:
"Chen"
⌘I