---
title: "Registers this browser's subscription for the tablet (upsert by endpoint). 204; 400 for a bad endpoint or keys; 409 `push_unavailable` when tablet push is off for the clinic; 403 `session_ended` when the tablet's session was revoked or re-coded meanwhile."
method: PUT
path: "/devices/me/push-subscription"
tags: ["DevicePush"]
---

# Registers this browser's subscription for the tablet (upsert by endpoint). 204; 400 for a bad endpoint or keys; 409 \`push_unavailable\` when tablet push is off for the clinic; 403 \`session_ended\` when the tablet's session was revoked or re-coded meanwhile.

`PUT /devices/me/push-subscription`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/devices/me/push-subscription`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/devices/me/push-subscription/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- RegisterDevicePushRequest: What the tablet registers: `PushSubscription.toJSON()`, flattened.
  - `endpoint` string, nullable, required
  - `p256dh` string, nullable, required
  - `auth` string, nullable, required
  - `userAgent` string, nullable, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict

## Changes

- **2026-10-21** `85ee96c0bb96`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/devices/me/push-subscription/put.md)

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
