Dub icon

Dub

Interact with the Dub API

Tag → Create

AI-generated

Summary

Create a tag in Dub with a required name and optional color.

Inputs

  • name (required) — Tag name (1-50 characters)
  • color — Tag color (if omitted, a random color is assigned); defaults to blue if explicitly set

Output shape

Not explicitly declared in provided properties or source; operation creates a tag resource.

The name parameter is mandatory and must be 1–50 characters. The color parameter accepts one of seven named options; omitting it results in a randomly assigned color.

Examples

Example 1: Create a blue tag named 'ProjectAlpha'

name: 'ProjectAlpha', color: 'blue'

Example 2: Create a tag with a random color

name: 'NewCampaign', color: (omitted)

Links

Discussion