# Register push notification token

Registers a device push notification token for the authenticated user. Supports iOS (APNs) and Android (FCM) platforms.

Endpoint: POST /users/push-token
Version: v3
Security: userToken

## Security:

  - `userToken` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `pushToken` (string, required)
    Device push notification token

  - `platform` (string, required)
    Device platform: ios or android
    Example: ios

  - `enabled` (boolean)
    Whether push notifications are enabled for this device

## Request examples:

  - `Push Token` (unknown)
    Push Token

## Response 204:

  - `204` (unknown)
    Push token registered

## Response 204 headers:

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `timestamp` (string)

  - `codes` (array)

  - `messages` (array)

  - `details` (array)

## Response 400 headers (application/json):

  - `X-Request-Id` (string)
    Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

## Response 204 examples:

  - `No Content` (unknown)
    No Content

## Response 400 examples:

  - `Host Not Found` (unknown)
    Host Not Found

