cURL
curl --request POST \ --url https://api.snitcher.com/v1/workspaces/{uuid}/tags \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "tag_name": "Tag Name" } '
{ "success": true, "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "ACME Inc.", "url": "https://acme.com", "tracking_script_id": "s123456789", "tracking_script_snippet": "<script>...</script>", "available_tags": [ "marketing", "design" ], "status": "active", "usage_limit": "1000" } }
Enter your personal access token (PAT) to authenticate
UUID of the workspace
"550e8400-e29b-41d4-a716-446655440000"
Request parameters for creating a tag
The name of the tag
"Tag Name"
Workspace details
true
Show child attributes