Skip to main content
POST
Generate proof of work

Authorizations

x-api-key
string
header
required

Body

application/json
st
integer<int64>
required

The session's st value, a millisecond timestamp no later than the current time.

ct
string
required

The session's x-kpsdk-ct value. At least 16 bytes.

domain
string
required

The exact hostname of the protected site, for example www.example.com.

fc
string

Optional base64 feature configuration from the page. Omit or send an empty string when there is none.

Response

Proof of work solved.

payload
string
required

The x-kpsdk-cd header value, a serialised JSON string. Send it as is.