---
title: "Add"
method: POST
path: "/api/account/passkeys"
tags: ["account"]
---

# Add

`POST /api/account/passkeys`

## Request

- Base URL: `https://esimker.com` (the document declares no server; this is the origin it was published from)
- URL: `https://esimker.com/api/account/passkeys`
- Auth: none declared

What `navigator.credentials.create` produced. Answers with the new
passkey and the whole list; a ceremony that does not verify is
`400 invalid`. The account's address is told: a passkey survives a password
change, so one added by whoever has the password must not be added
quietly.

## Request body

- AddIn
  - `credential` object, required
  - `name` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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