POST
/
api
/
v1
/
workspaces
/
{uuid}
/
tags
curl --request POST \
  --url https://app.snitcher.com/api/v1/workspaces/{uuid}/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tag_name": "Tag Name"
}'
{
  "success": true,
  "data": {
    "uuid": "550e8400-e29b-41d4-a716-446655440000",
    "name": "ACME Inc.",
    "url": "https://acme.com",
    "tracking_script_id": "123",
    "tracking_script_snippet": "<script>...</script>",
    "available_tags": [
      "marketing",
      "design"
    ],
    "status": "active"
  }
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

uuid
string
required

UUID of the workspace

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json

Request parameters for creating a tag

tag_name
string

The name of the tag

Example:

"Tag Name"

Response

200
application/json
Workspace details
success
boolean
Example:

true

data
object

Representation of a workspace