curl --request POST \
--url https://api.sprucecollective.co.uk/tags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"active": true,
"color": "<string>",
"description": "<string>",
"site_id": "<string>"
}
'{
"active": true,
"color": "<string>",
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>",
"site_id": "<string>",
"slug": "<string>",
"updated_at": "<string>"
}Create a new tag (admin only)
curl --request POST \
--url https://api.sprucecollective.co.uk/tags \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"slug": "<string>",
"active": true,
"color": "<string>",
"description": "<string>",
"site_id": "<string>"
}
'{
"active": true,
"color": "<string>",
"created_at": "<string>",
"description": "<string>",
"id": "<string>",
"name": "<string>",
"site_id": "<string>",
"slug": "<string>",
"updated_at": "<string>"
}Type "Bearer" followed by a space and JWT token.
Tag creation data