Skip to main content

Provision an access token

POST 

/v1/tokens

Provisions a new access token. Either bind it to an account, or set permissions - an instance-wide token that is not narrowed reaches every account and every endpoint, so the API declines to mint one. A token can not mint one less restricted than itself: when the calling token has an address allowlist, a referrer allowlist, a rate limit or an expiry, the request has to repeat each of them at least as narrowly (addresses within its allowlist, referrers from its list, a rate no higher, an expiry no later), otherwise it is refused with 403.

Request​

Responses​

Returns the new token value. This is the only time it is shown - store it now.