---
title: "Register Device"
method: POST
path: "/v1/accounts/{account_id}/devices"
---

# Register Device

`POST /v1/accounts/{account_id}/devices`

## Request

- Base URL: `https://api.portveil.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.portveil.com/v1/accounts/{account_id}/devices`
- Auth: none declared

## Path parameters

- `account_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- DeviceRegister
  - `name` string, required
  - `platform` string, required
  - `peer_pubkey` string, required
  - `allow_remote` boolean
  - `ttl_minutes` integer, nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/portveil/apis/portveil-control-plane.md) · [All operations](https://skmtc.dev/portveil/apis/portveil-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/portveil/apis/portveil-control-plane/revisions/48ad5689e525?raw)
