---
title: "Register this device for push."
method: PUT
path: "/v1/notifications/push"
---

# Register this device for push.

`PUT /v1/notifications/push`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/notifications/push`
- Auth: HTTP bearer

fcm needs pushToken (the Firebase registration token); webpush needs the browser subscription. With a device token the target is removed when the device is revoked. Requires the cortex.write scope.

## Request body

- object
  - `provider` 'fcm' | 'webpush', required
  - `pushToken` string
  - `subscription` object
  - `platform` string: e.g. android, ios, web.

## Response `200`

Successful response.

- object

## Other responses

- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
