v1

latestOpenAPI 3.0.02026-07-235010.7 KB

Generate sensor data

Generates sensor data that should be posted in order to acquire valid "_abck" cookies

post/v2/sensor

Headers

Content-Type'application/json' required

The Content-Type of the request body

x-api-keystring required

Your API key for authentication

Request body

abckstring required

The "_abck" cookie to generate sensor data with. This should be obtained from your cookie jar. The cookie for the first request should be from doing a GET request to the script endpoint.

bmszstring required

The "bm_sz" cookie to generate sensor data with.

pageUrlstring required

The page URL to insert into the generated sensor data. This should be the URL of the page you're currently on, like a product page, login page or home page.

versionstring required

The Akamai version that the site is on. Supported values are "2" and "3". When using v3 dynamic, set this value to "3".

userAgentstring required

The userAgent that you're using for the entire session

scriptstring required

Script contents as string. Mutually exclusive with context. Should only be sent on first sensor request.

scriptUrlstring required

The script URL that you are posting sensor data to.

ipstring required

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.

acceptLanguagestring required

Your accept-language header.

contextstring required

Leave empty for first sensor, update with context string from response for later sensors.

Response

OK Sensor data successfully generated

payloadstring

The generated sensor data

contextstring

The context value to use for generating the next sensor