POST
/api/v1/tagsCreate a tag
Creates a new tag in your workspace. Tags can be applied to links for organization and filtering.
Authorization
Authorizationstringheaderrequired
Bearer token. Format: Bearer YOUR_API_KEY
Body
namestringbodyrequired
Tag name. Max 50 characters. Only letters, numbers, spaces, hyphens, and underscores are allowed.
colorstringbodyrequired
Hex color code for the tag. Must be a 6-digit hex value, e.g. #3b82f6.
curl -X POST https://app.brevr.io/api/v1/tags \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "summer-campaign",
"color": "#3b82f6"
}'{
"tag": {
"id": "tag_abc123",
"name": "summer-campaign",
"color": "#3b82f6",
"createdAt": "2024-06-01T10:00:00.000Z"
}
}Last updated on