---
title: "Provision Canton OIDC Ledger User"
method: POST
path: "/api/v1/authorize/provision"
tags: ["User"]
---

# Provision Canton OIDC Ledger User

`POST /api/v1/authorize/provision`

## Request

- Base URL: `https://api.ekiden.fi`
- URL: `https://api.ekiden.fi/api/v1/authorize/provision`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ekidenfi/apis/ekiden-gateway/docs/api/v1/authorize/provision/post.ts> (a function with typed inputs; its response is checked against the schema)

Verify an OIDC id_token and ensure a Ledger API user/party exists for its `sub`

## Request body

- CantonProvisionRequest
  - `id_token` string, required

## Response `200`

Ledger user ensured

- CantonProvisionResponse
  - `created` boolean, required
  - `party_id` string, required

## Changes

- **2026-09-10** `fad9eecaba2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ekidenfi/apis/ekiden-gateway/changes/api/v1/authorize/provision/post.md)

---

[API](https://skmtc.dev/ekidenfi/apis/ekiden-gateway.md) - [All operations](https://skmtc.dev/ekidenfi/apis/ekiden-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/ekidenfi/apis/ekiden-gateway/revisions/fad9eecaba2e?raw)
