---
title: "POST /v1alpha1/device/{deviceId}"
method: POST
path: "/v1alpha1/device/{deviceId}"
tags: ["DeviceService"]
---

# POST /v1alpha1/device/{deviceId}

`POST /v1alpha1/device/{deviceId}`

Add new device for approval flow

## Path parameters

- `deviceId` string, required

## Request body

- Device — Devices used for user approval
  - `id` string — A unique identifier for the Device.
  - `userId` string — User ID associated with the Device.
  - `subscriptionToken` string — Subscription Token for the Device.
  - `name` string — The device human-readable name.
  - `createdAt` string, date-time — The creation time of the Device.

## Response `200`

OK

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/agntcy/apis/agntcy-identity-service-api.md) · [All operations](https://skmtc.net/agntcy/apis/agntcy-identity-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agntcy/agntcy-identity-service-api/revisions/1dc8f8328648/schema)
