GET /challenge
GET
/challenge
Returns a new challenge.
Authorizations
Parameters
Header Parameters
Referer
string
The origin (including the protocol).
Example
https://example.comQuery Parameters
expire
string
The expiration of the challenge.
Example
1h complexity
string
The complexity specified as string low | medium | high. The parameter maxnumber takes precedence.
Example
low maxnumber
number
The maximum upper limit for the random number generator.
Responses
200
A new challenge
object
algorithm
required
string
challenge
required
string
maxnumber
number
salt
required
string
signature
required
string
default
Unexpected error
object
error
required
string
statusCode
number