---
title: "POST /api/v1/push-notifications/"
method: POST
path: "/api/v1/push-notifications/"
tags: ["push-notifications"]
---

# POST /api/v1/push-notifications/

`POST /api/v1/push-notifications/`

## Request

- Base URL: `https://uptime.com` (the document declares no server; this is the origin it was published from)
- URL: `https://uptime.com/api/v1/push-notifications/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/push-notifications/post.ts> (a function with typed inputs; its response is checked against the schema)

Register a new device for push notifications

**NOTE: This API is only available to the Uptime.com mobile app.**
Register your device via the mobile app and it will automatically appear
in the list.

**NOTE 2:** This endpoint will overwrite any existing registered
device with the same UUID, if it exists.

## Request body

- PushNotificationProfileCreate
  - `app_key` string, required
  - `pk` integer
  - `url` string
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `uuid` string
  - `user` string
  - `device_name` string, required
  - `display_name` string
  - `contact_groups` string[], required: Array of contact names or IDs to this push notification will receive alerts for.
  - `is_errored` boolean: True when alerts stopped because the device no longer accepts push notifications. Change any notification setting in the Uptime.com app on the device, or update this profile, to re-enable it.

## Response `200`

- PushNotificationProfileCreate
  - `app_key` string, required
  - `pk` integer
  - `url` string
  - `created_at` string, date-time
  - `modified_at` string, date-time
  - `uuid` string
  - `user` string
  - `device_name` string, required
  - `display_name` string
  - `contact_groups` string[], required: Array of contact names or IDs to this push notification will receive alerts for.
  - `is_errored` boolean: True when alerts stopped because the device no longer accepts push notifications. Change any notification setting in the Uptime.com app on the device, or update this profile, to re-enable it.

---

[API](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema.md) - [All operations](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/llms.txt) - [OpenAPI document](https://skmtc.dev/uptime/apis/uptime-com-openapi-schema/revisions/e1e4a57a60d8?raw)
