---
title: "Register push notification device"
method: POST
path: "/v1/notifications/register"
tags: ["Notifications"]
---

# Register push notification device

`POST /v1/notifications/register`

## Request

- Base URL: `https://lpad-backend.stage.defi.ovh.gala.com`
- URL: `https://lpad-backend.stage.defi.ovh.gala.com/v1/notifications/register`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/gala/apis/launchpad-backend-api/docs/v1/notifications/register/post.ts> (a function with typed inputs; its response is checked against the schema)

Register or update a push notification token for the authenticated user

## Request body

- RegisterDeviceDto
  - `deviceId` string
  - `platform` 'ios' | 'android', required
  - `token` string, required

## Response `200`

Device registered successfully

- RegisterDeviceSuccessEnvelopeDto
  - `data` RegisteredDeviceDto, required
    - `registered` true, required
  - `error` false, required
  - `message` string, required
  - `status` number, required

## Other responses

- `400`: Bad request - invalid token or platform
- `401`: Unauthorized - missing or invalid JWT token or API key
- `default`: Shared authentication and service error envelope.

---

[API](https://skmtc.dev/gala/apis/launchpad-backend-api.md) - [All operations](https://skmtc.dev/gala/apis/launchpad-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gala/apis/launchpad-backend-api/revisions/74545971be2b?raw)
