---
title: "Subscribe"
method: POST
path: "/customer-app/push/subscriptions"
tags: ["Customer app"]
---

# Subscribe

`POST /customer-app/push/subscriptions`

## Request

- Base URL: `https://api.verdun.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.verdun.ai/customer-app/push/subscriptions`
- Auth: HTTP bearer

## Request body

- PushSubscriptionInput
  - `endpoint` string, required: Browser push service endpoint
  - `p256dh` string, required: Base64url browser public key
  - `auth` string, required: Base64url browser auth secret

## Response `200`

Successful Response

- PushSubscriptionResponse
  - `registered` boolean, required: Whether this browser is registered to this customer

## Other responses

- `422`: Validation Error

---

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