---
title: "Focus Beeper Desktop app"
method: POST
path: "/v1/focus"
tags: ["App"]
---

# Focus Beeper Desktop app

`POST /v1/focus`

Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.

## Request body

- FocusAppInput — Focus Beeper Desktop and optionally navigate to a specific chat, message, or pre-fill draft text and attachment.
  - `chatID` string — Optional Beeper chat ID (or local chat ID) to focus after opening the app. If omitted, only opens/focuses the app.
  - `messageID` string — Optional message ID. Jumps to that message in the chat when opening.
  - `draftText` string — Optional draft text to populate in the message input field.
  - `draftAttachmentPath` string — Optional draft attachment path to populate in the message input field.

## Response `200`

Request executed successfully

- FocusAppOutput — Response indicating successful app focus action.
  - `success` boolean, required — Whether the app was successfully opened/focused.

## Other responses

- `400` — Invalid request parameters
- `401` — Access token is missing or invalid
- `403` — Access token does not have the required scope
- `404` — Resource not found
- `422` — Unprocessable entity - validation error
- `429` — Too many requests - rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.net/beeper/apis/beeper-desktop-api.md) · [All operations](https://skmtc.net/beeper/apis/beeper-desktop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beeper/beeper-desktop-api/revisions/5a8ac7b545c4/schema)
