Skip to main content
GET
/
map
/
maps
Get data for several keys
curl --request GET \
  --url https://eu-data.kameleoon.io/map/maps \
  --header 'user-agent: <user-agent>'

Headers

user-agent
string
default:kameleoon-docs
required

Not always required. Kameleoon rejects an incoming request if the source is a bot or spider, based on IAB/ABC user-agent filtering rules. Kameleoon uses a single-pass method. You don't need to take specific action when sending requests from a web browser using a standard library (XHR). However, in other cases, set a custom value for the User-Agent request header to overwrite the default value the library sets.

Query Parameters

siteCode
string
required

The Kameleoon project ID.

keys
string
required

A JSON array of unique keys (such as visitor codes or internal user IDs). For example, ["key1","key2"]. Limit the array to 100 keys. JSON array of <key: string>.

prettyPrint
boolean
default:false

Set to true for a "pretty" printed response.

Response

Successful operation, maps are rendered, of type JSON object {"<key>": <map>}, with <map> of type JSON object