---
title: "Register the current signed-in device for native notifications"
method: POST
path: "/v1/workspace/push/devices"
---

# Register the current signed-in device for native notifications

`POST /v1/workspace/push/devices`

## Request

- Base URL: `https://api.specstream.ai`
- URL: `https://api.specstream.ai/v1/workspace/push/devices`
- Auth: API key in header `Authorization`

## Request body

- PushDeviceInput
  - `platform` 'apns' | 'fcm', required
  - `token` string, required
  - `name` string, required

## Response `200`

Register the current signed-in device for native notifications

- object
  - `data` PushDevice, required
    - `device_id` string, required
    - `platform` 'apns' | 'fcm' | 'web_push', required
    - `name` string, required
    - `active` boolean, required
    - `created_at` string, required
    - `updated_at` string, required

## Other responses

- `default`: Error envelope

---

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