Skip to main content
POST
cURL

Authorizations

x-tenant-key
string
header
required

Tenant API key

Headers

X-Tenant-Signature
string
required

Hex HMAC-SHA256 of the timestamp, the uppercase method, the url as sent and the request body, keyed by the signing secret.

X-Tenant-Timestamp
string
required

Unix seconds. Checked before the signature.

X-Idempotency-Key
string<uuid>
required

Unique key for this write. A replay returns the stored response; the same key with a different body conflicts.

Body

application/json
title
string
required
xp_cost
number<double>
required
description
string
metadata
object

Construct a type with a set of properties K of type T

min_tier_id
string | null

Tier gate — UUID of the minimum tier, or ''/omitted for all tiers.

status
enum<string>
Available options:
initialized,
published

Response

Ok

success
boolean
required
data
object
errors
object[]
message
string