POST
/
radar
/
v1
/
tracking-scripts
curl --request POST \
  --url https://api.snitcher.com/radar/v1/tracking-scripts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "internal_identifier": "my-tracking-script",
  "description": "This is a tracking script for my website"
}'
{
  "success": true,
  "data": [
    {
      "tracking_script_id": "<string>",
      "internal_identifier": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Body

application/json

Tracking script generation parameters

The body is of type object.

Response

200
application/json

Tracking script generated successfully

The response is of type object.