---
title: "Provision"
method: POST
path: "/v1/account/provision"
---

# Provision

`POST /v1/account/provision`

Idempotent onboarding: create org if absent; issue first key if absent. Plaintext is
also re-revealable later via GET /v1/account (at-rest encrypted; dashboard full-key copy).

## Request body

- ProvisionRequest
  - `signup_attribution` object, nullable

## Response `200`

Successful Response

- ApiKeyCreatedResponse
  - `result` string
  - `created` boolean, required
  - `org_id` string, required
  - `plaintext` string, nullable, required
  - `key` KeySummary, required
    - `prefix` string, required
    - `plaintext` string, nullable
    - `created_at` string, required
    - `last_used_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/exchangerate/apis/exchangerate-dev.md) · [All operations](https://skmtc.net/exchangerate/apis/exchangerate-dev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/exchangerate/exchangerate-dev/versions/6ab03101f1ce/schema)
