---
title: "Register a push device"
method: PUT
path: "/v1/notifications/push-devices"
tags: ["notifications"]
---

# Register a push device

`PUT /v1/notifications/push-devices`

## Request

- Base URL: `https://app.legend.trade/api/rest`
- URL: `https://app.legend.trade/api/rest/v1/notifications/push-devices`
- Auth: HTTP bearer

## Request body

- object
  - `token` string, required
  - `expectedUserId` string, uuid
  - `platform` 'ios' | 'android', required
  - `app_id` string, required
  - `environment` 'sandbox' | 'production', required
  - `app_version` string
  - `build_number` string

## Response `200`

Successful response

- PushDeviceMutationOutput
  - `success` true, required

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-10-22** `71524db9527a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/legend/apis/legend-api/changes/v1/notifications/push-devices/put.md)

---

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