cURL
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" }
Create a new tag for the authenticated workspace.
Default authentication mechanism
The ID of the workspace to create the tag for.
The created tag
The response is of type object.
object
Was this page helpful?