Skip to main content
POST
Create a proof-of-work challenge

Body

application/json
purpose
enum<string>
required
Available options:
register,
confirm,
oauth
email
string<email>
required

For purpose oauth, the provider identity key provider:subject@oauth.local (see POST /v1/auth/oauth).

org
string

Organization slug binding the challenge to one org (recommended; without it the legacy org-less challenge is issued).

Response

Proof-of-work challenge created.

challenge
string
required
difficulty
integer
required
algorithm
string
required
expires_in
integer
required
input
string
required
nonce_bytes
string
required