Workspaces
Create a new workspace
Workspaces
Create a new workspace
POST
/
api
/
v1
/
workspaces
curl --request POST \
--url https://app.snitcher.com/api/v1/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://acme.com"
}'
{
"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",
"usage_limit": 1000
}
}
Authorizations
Enter your personal access token (PAT) to authenticate
Body
application/json
Response
200
application/json
Workspace details
The response is of type object
.
curl --request POST \
--url https://app.snitcher.com/api/v1/workspaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"url": "https://acme.com"
}'
{
"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",
"usage_limit": 1000
}
}