Factify API is currently in Beta.
TypeScript
import { Factify } from "@factify/sdk"; const factify = new Factify({ bearerAuth: "<YOUR_BEARER_TOKEN_HERE>", }); async function run() { const result = await factify.users.getMe(); console.log(result); } run();
{ "user": { "email": "jsmith@example.com", "id": "user_01h2xcejqtf2nbrexx3vqjhp41", "name": "<string>", "family_name": "<string>", "given_name": "<string>", "profile_image_url": "<string>" }, "organizations": [ { "created_at": "2023-11-07T05:31:56Z", "id": "org_01h2xcejqtf2nbrexx3vqjhp41", "name": "Acme Corporation", "logo_image_url": "<string>" } ] }
Returns the authenticated user’s profile and organization memberships. Only available for user accounts (JWT auth), not API keys.
Bearer authentication header of the form Bearer , where is your auth token.
Success
GetMeResponse contains the authenticated user's profile.
The authenticated user.
Show child attributes
Organizations the user is a member of.