cURL
curl --request POST \ --url https://api.snitcher.com/radar/operator/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>", "active": true } ] }
Enter your personal access token (PAT) to authenticate
Tracking script generation parameters
The body is of type object.
object
Tracking script generated successfully
The response is of type object.