---
title: "Presence Heartbeat"
method: POST
path: "/api/me/presence"
tags: ["me"]
---

# Presence Heartbeat

`POST /api/me/presence`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/me/presence`
- Auth: none declared

Update presence for the current identity.

Call every 30 seconds while the user has the app open.

No-ops entirely while impersonating: the web app's shared
fetch client attaches X-Impersonate-Identity-Id to every request,
including this heartbeat, so an admin/owner with an identity's screen
open via act-as would otherwise continuously refresh THAT identity's
presence purely from the impersonator's own session - not anything the
identity did.

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- PresenceHeartbeatRequest
  - `client_id` string, nullable
  - `focused` boolean
  - `active` boolean

## Response `200`

Successful Response

- PresenceHeartbeatResponse
  - `ok` boolean

## Other responses

- `422`: Validation Error

---

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