---
title: "Ask for a push when the import stops"
method: POST
path: "/api/v1/imports/people/{importId}/notify"
---

# Ask for a push when the import stops

`POST /api/v1/imports/people/{importId}/notify`

## Request

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

`{ "enabled": true }` when the app goes to the background (or the tab is hidden) while the import is processing: when it stops (done, needs a name, or failed) the account gets ONE push through the existing notification sender, without names. `{ "enabled": false }` when the client comes back clears it. On an import that already stopped it does nothing. Owner only; idempotent.

## Path parameters

- `importId` string, uuid, required

## Request body

- object
  - `enabled` boolean, required

## Response `204`

Saved

## Other responses

- `400`: `enabled` is not a boolean
- `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)
