Skip to content

Create a product

POST
/v1/admin/products
curl --request POST \
--url https://api.sealcord.com/v1/admin/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": "example", "name": "example", "key_prefix": "example", "current_major": 1, "machines_per_seat": 3, "licence_signing_domain": "example", "verdict_signing_domain": "example" }'

The API generates the product’s Ed25519 signing key and stores it encrypted; the response carries its public key, never the private key. An organization’s product is its own and counts against its plan.

Media typeapplication/json
object
id
required
string
/^[a-z0-9][a-z0-9-]{0,62}$/
name
required
string
>= 1 characters <= 200 characters
key_prefix
required
string
/^[A-Z0-9]{2,8}-$/
current_major
required
integer
>= 1 <= 65535
machines_per_seat
integer
default: 3 >= 1 <= 1000
licence_signing_domain
string
>= 1 characters <= 200 characters /^[\x21-\x7e]+$/
verdict_signing_domain
string
>= 1 characters <= 200 characters /^[\x21-\x7e]+$/

Missing or invalid API key.

Needs scope products:write.