Skip to main content
POST
Mint a browser key

Authorizations

X-API-Key
string
header
required

Body

A browser key to mint.

label
string
required

What the key is for, such as the site it ships on.

Required string length: 1 - 100

Response

The key, with browser_key.

A key just minted: the only response that carries the key itself.

browser_key_id
string<uuid>
required

The key's id.

label
string
required

What the key is for.

environment
enum<string>
required

The application's environment.

Available options:
sandbox,
production
created_at
string<date-time>
required

When the key was minted.

created_by
ActedBy (v1) · object
required

Who minted it.

browser_key
string
required

The key, for baselayer.js's browserKey. Shown only in this response; Baselayer stores its sha256, so it cannot be shown again.

revoked_at
string<date-time> | null

When it was revoked; null while it is live.