TagsCreate

Create a tag

Add a new org-scoped tag. Returns the new tag id.

Creates a new tag for the authenticated organization. Tags are org-scoped — every board in the org can use the new tag once it exists.

Endpoint

POST https://api.productbridge.io/api/external/v1/tags/create

Arguments

body
api_keystring
Required

Your organization's public API key. See Authentication.

body
namestring
Required

The display name of the tag. 1–512 characters. Must be unique within the organization.

body
colorstring

Optional hex color string for the tag's badge in the dashboard (e.g. "#10B981"). Max 512 characters.

body
show_on_feedbackboolean

Whether this tag appears in feedback views. Defaults to true.

body
show_on_roadmapboolean

Whether this tag appears in roadmap views. Defaults to true.

Returns

A JSON object with the new tag's id.

{ "id": "773c3ef8-b8cd-cd15-01ba-tag00000003" }

Example request

curl -X POST https://api.productbridge.io/api/external/v1/tags/create \
  -H 'Content-Type: application/json' \
  -d '{
    "api_key": "pb_YOUR_PUBLIC_API_KEY",
    "name": "regression",
    "color": "#EF4444"
  }'

Example response

{
  "id": "773c3ef8-b8cd-cd15-01ba-tag00000003"
}

Errors

StatusBodyCause
401{"detail":{"error":"invalid api_key"}}Missing / unknown / inactive api_key.
422Validation error envelopeMissing name, name longer than 512 chars, or another field has the wrong type.

See Errors for the full envelope shape.

Was this page helpful?

Last updated 1 week ago

Built with Documentation.AI