POST
https://api.dub.co
/
tags
curl --request POST \
  --url https://api.dub.co/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tag": "<string>",
  "color": "red"
}'
{
  "id": "<string>",
  "name": "<string>",
  "color": "red"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

workspaceId
string
required

The ID of the workspace to create the tag for.

Body

application/json

Response

201
application/json

The created tag

The response is of type object.