---
title: "Mint Child Key"
method: POST
path: "/api/v1/keys"
---

# Mint Child Key

`POST /api/v1/keys`

## Request

- Base URL: `https://sibfly.com`
- URL: `https://sibfly.com/api/v1/keys`
- Auth: HTTP bearer

R2: mint a scoped, spend-capped, referer-locked, revocable CHILD key from your owner key. Safe to embed
in a public widget — it draws from your credits but can't exceed daily_cap_usd and is locked to allowed_referer.

## Request body

- object
  - `daily_cap_usd` number
  - `allowed_referer` string
  - `ttl_hours` number
  - `label` string

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Unauthorized
- `422`: Validation Error

---

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