Kasada
Since the request body of the requests will be large, it is highly recommended to apply compression to your request body first. We support the following compression methods: "gzip", "br" and "deflate".
Don't forget to set the content-encoding
header. More info here: Compression
Generate challenge token (ct)
Generates a payload to be used in the /tl
POST request
The Content-Type of the request body
Your API key for authentication
The User-Agent string of the browser
The IPS link obtained from the Kasada block page
The Kasada challenge script content
Your accept-language header.
The IP that is used to post the sensor data to the target site. You can use /ip to get the IP from a connection. If you are not using proxies, this will be the IPv4 or IPv6 address of your pc.
OK Payload successfully generated
Bad Request Error occurred
Forbidden Authentication error
{
"headers": {
"x-kpsdk-ct": "text",
"x-kpsdk-dt": "text",
"x-kpsdk-v": "text",
"x-kpsdk-r": "text",
"x-kpsdk-dv": "text",
"x-kpsdk-h": "text",
"x-kpsdk-fc": "text",
"x-kpsdk-im": "text"
},
"payload": "text"
}
Generate challenge data (cd)
Retrieves a challenge POW (x-kpsdk-cd
)
The Content-Type of the request body
Your API key for authentication
Timestamp retrieved from the x-kpsdk-st
response header of the /tl
request
Value retrieved from the x-kpsdk-ct
response header of the /tl
request
Custom workTime value if you are generating POWs in advance
Only used on specific sites. Inquire if your site makes a GET request to /mfc.
OK POW successfully generated
Bad Request Error occurred
Forbidden Authentication error
{
"payload": "text"
}
Last updated