---
title: "Record foreground interaction in the signed-in Accountant App"
method: POST
path: "/auth/sessions/accountant-activity"
tags: ["Auth"]
---

# Record foreground interaction in the signed-in Accountant App

`POST /auth/sessions/accountant-activity`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/auth/sessions/accountant-activity`
- Auth: HTTP bearer

Requires the configured Accountant App origin and its active refresh cookie for the same sign-in as the access token.

## Request body

- object

## Response `200`

Effective expiry of the active sign-in

- object
  - `success` true, required
  - `data` object, required
    - `signInId` string, uuid, required
    - `deadlineMs` integer, required: Unix time in milliseconds

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `422`: Validation error
- `429`: Too many activity requests

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/auth/sessions/accountant-activity/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
