---
title: "POST /key"
method: POST
path: "/key"
tags: ["key", "post"]
---

# POST /key

`POST /key`

Register a new ID `JWT(sub, devtoken)`

v5: `JWT(sub, pk, devtoken, ...)`

See: https://github.com/skion/authentiq/wiki/JWT-Examples

## Response `201`

Successfully registered

- object
  - `status` string — registered
  - `secret` string — revoke key

## Other responses

- `409` — Key already registered `duplicate-key`
- `default` — Error response

---

[API](https://skmtc.dev/authentiqid/apis/authentiq-api.md) · [All operations](https://skmtc.dev/authentiqid/apis/authentiq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authentiqid/authentiq-api/revisions/b5d106dd3d00/schema)
