---
title: "Show or hide typing... in a chat"
method: POST
path: "/v1/presence"
tags: ["Public API"]
---

# Show or hide typing... in a chat

`POST /v1/presence`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/v1/presence`
- Auth: HTTP bearer

## Request body

- PresenceInputBody
  - `state` 'typing' | 'paused', required: typing shows typing... in the chat for about 25 seconds, repeat it every 10 seconds while you work; paused hides it
  - `to` string, required: Phone or saved contact name of the chat

## Response `202`

Accepted

- PresenceOutputBody
  - `state` 'typing' | 'paused', required
  - `to` string, required

## Other responses

- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
