Retrieve the current user
Return the person who owns the API key in the company the call acts on: a member of that company or a person of another account with operate access to it through an account relation. If the key holder is neither, or is no longer a member of the company that owns the key, it returns 404 route_not_found.
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/users/me
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
Headers
Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.
Response
Example response
{
"data": {
"id": "0193a4f2-6b1c-7d3e-8a41-2c5e7f9a1b01",
"object": "user",
"name": "Ana Pérez",
"email": "ana.perez@example.com",
"initials": "AP",
"avatar_color": "pink"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.