Skip to main content
POST

Authorizations

X-Ambient-Actor
string
header
required

Provisioned actor identifier.

X-Ambient-Timestamp
string
header
required

Current Unix timestamp in seconds, within the configured clock-skew window.

Authorization
string
header
required

Ambient-HMAC followed by a space and the unpadded base64url HMAC-SHA256 signature. See Authentication and authority for the canonical input.

Body

application/json
commandId
string
required

Actor-scoped idempotency key. Retry the identical command with the same value.

Minimum string length: 1
principalId
string
required

Principal represented by the authenticated actor.

Minimum string length: 1
subject
object
required
mechanism
object
required

Supported versioned allocation mechanism and its immutable configuration.

externalRef
string

Optional creator-private correlation reference. It is not unique and is not an idempotency key.

Maximum string length: 256
discoverability
enum<string>
default:listed

Listed markets appear in public discovery. Unlisted markets remain readable by exact market ID and are not private.

Available options:
listed,
unlisted
authorityRef
string

Required delegation identifier when the actor and principal differ. Omit for self-action.

Minimum string length: 1
fulfillment
object
funding
object

Response

Draft created.

market
object
required
events
object[]
required