---
title: "Retrieve an employee’s live presence"
method: GET
path: "/companies/{company}/presence/{employee}"
tags: ["Presence"]
---

# Retrieve an employee’s live presence

`GET /companies/{company}/presence/{employee}`

## Request

- Base URL: `https://api.factuarea.com/v1`
- URL: `https://api.factuarea.com/v1/companies/{company}/presence/{employee}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Retrieve the live presence of a single employee by its `id` (UUID v7): the workday state derived from the ledger, the late-arrival flag and the office/remote location declared today. An employee that does not exist or belongs to another company returns 404 `employee_presence_not_found` (anti-enumeration). A computed resource: it exposes the employee UUID v7 as its `id`.

## Path parameters

- `company` string, uuid, required
- `employee` string, uuid, required

## Headers

- `Factuarea-Version` string, date

## Response `200`

- object
  - `data` EmployeePresence, required: Live presence of an employee for the Control Horario (time tracking) module: a read-only projection derived from the immutable time record ledger and the employee’s planned schedule. `work_state` is the derived workday state; `is_late` is true when the first clock-in of the day happened after the planned start time. A computed resource with no entity identity of its own: its `id` is the UUID v7 of the employee, never a presence record id.
    - `id` string, uuid, required: UUID v7 of the employee this presence belongs to (the resource has no id of its own).
    - `object` 'employee_presence', required: Always `employee_presence`.
    - `display_name` string, required: Display name of the employee.
    - `work_state` 'working' | 'paused' | 'finished' | 'away', required: Derived workday state from the ledger: `working`, `paused`, `finished` (clocked out) or `away` (no open workday).
    - `since` string, date-time, nullable, required: Start of the current open segment (ISO 8601), or `null` when there is no open workday.
    - `first_clock_in_at` string, date-time, nullable, required: First clock-in of the day (ISO 8601), or `null` when the employee has not clocked in today.
    - `is_late` boolean, required: true when the employee clocked in after their planned start time.
    - `planned_start_at` string, date-time, nullable, required: Planned start time of the day (ISO 8601), or `null` on a rest day / when no schedule applies.
    - `location` 'office' | 'remote' | 'null', nullable, required: Declared work location for today: `office`, `remote`, or `null` when not declared.
    - `location_declared` boolean, required: true when the employee has declared a work location today (distinguishes "office not declared" from "no data").

## Other responses

- `400`: `parameter_unknown` with `subcode` `retired_active_profile_header`: the retired `X-Active-Profile` header was sent; the company goes in the path. `parameter_invalid_format` on `Factuarea-Version`: the header is not a `YYYY-MM-DD` date. `unsupported_api_version`: the `Factuarea-Version` date is not a supported version.
- `401`: Missing or invalid API key.
- `403`: The request is authenticated but not allowed: the API key lacks the required scope (`insufficient_scope`), the plan does not include the public API or this feature (`addon_not_active`, `feature_not_available_in_plan`), or the module is not available with a test key (`module_not_available_in_sandbox`).
- `404`: The requested resource does not exist or belongs to another company.
- `429`: Rate limit exceeded. Retry after the duration in `Retry-After`.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/factuarea/apis/factuarea-public-api.md) · [All operations](https://skmtc.dev/factuarea/apis/factuarea-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/factuarea/apis/factuarea-public-api/revisions/718e77934422?raw)
