---
title: "Report how long the import took on the client"
method: POST
path: "/api/v1/imports/people/{importId}/client-timing"
---

# Report how long the import took on the client

`POST /api/v1/imports/people/{importId}/client-timing`

## Request

- Base URL: `https://memchats.com`
- URL: `https://memchats.com/api/v1/imports/people/{importId}/client-timing`
- Auth: HTTP bearer

Optional, sent once the client lands on the result: the whole wait from "Import" pressed to the person on screen, and how long the app or tab was in the background meanwhile (iOS suspends polling there). Numbers only, joined to the import's timing record. Owner only; another user's import answers 404 like a missing one. Idempotent: sending it again overwrites with the same values.

## Path parameters

- `importId` string, uuid, required

## Request body

- object
  - `clientTotalMs` integer, required
  - `backgroundedMs` integer: Defaults to 0; capped at clientTotalMs.

## Response `204`

Kept

## Other responses

- `400`: A value is missing, not a whole number, or out of range
- `404`: Import not found

---

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