Skip to main content
POST
Generate challenge payload

Authorizations

x-api-key
string
header
required

Body

application/json
script
string
required

Contents of the ips.js challenge script, exactly as fetched.

ipsUrl
string<uri>
required

Absolute URL the script was fetched from, including its query string.

language
string
required

Your Accept-Language, for example en-US.

referer
string<uri>
required

Absolute URL of the page that loaded the script.

userAgent
string
required

The exact User-Agent your session sends to the site.

Response

Payload generated. Decode payload from base64 and post it to /tl with headers.

headers
object
required

Headers to send with the /tl request, including x-kpsdk-ct, x-kpsdk-v and any other x-kpsdk-* the script expects.

payload
string
required

The request body for /tl, base64-encoded.