---
title: "Get the browser push public key"
method: GET
path: "/api/me/browser-push"
---

# Get the browser push public key

`GET /api/me/browser-push`

## Request

- Base URL: `https://www.toma.com`
- URL: `https://www.toma.com/api/me/browser-push`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `better-auth.session_token`

Browser permission and subscription must be obtained on the user's device. Agent message tools trigger the same delivery automatically.

## Response `200`

Public key, or null when push is unavailable.

- object
  - `publicKey` string, nullable

## Other responses

- `401`: Sign in first.

---

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