curl --request POST \
--url https://api.kameleoon.com/referrers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"detections": [
{
"and": true,
"andMethod": "<string>",
"andParameters": "<string>",
"method": "<string>",
"parameters": "<string>"
}
],
"priority": 123,
"siteId": 123,
"tags": "<string>"
}
'{
"name": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"detections": [
{
"and": true,
"andMethod": "<string>",
"andParameters": "<string>",
"method": "<string>",
"parameters": "<string>"
}
],
"id": 123,
"index": 123,
"modificationDate": "2023-11-07T05:31:56Z",
"priority": 123,
"siteId": 123,
"tags": "<string>"
}Create new referrer with given parameters
curl --request POST \
--url https://api.kameleoon.com/referrers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"detections": [
{
"and": true,
"andMethod": "<string>",
"andParameters": "<string>",
"method": "<string>",
"parameters": "<string>"
}
],
"priority": 123,
"siteId": 123,
"tags": "<string>"
}
'{
"name": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"detections": [
{
"and": true,
"andMethod": "<string>",
"andParameters": "<string>",
"method": "<string>",
"parameters": "<string>"
}
],
"id": 123,
"index": 123,
"modificationDate": "2023-11-07T05:31:56Z",
"priority": 123,
"siteId": 123,
"tags": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Created
Name of the referrer
Date and time referred is created
Show child attributes
Unique Id of the referrer
Index of the referrer
Date and time referred is modified
Priority of the referrer
Site Id of the project the referrer belongs to
Tags belonging to this referrer
Was this page helpful?