cURL
curl --request POST \ --url https://api.mentionlab.io/api/tags \ --header 'Content-Type: application/json' \ --header 'x-organisation-id: <x-organisation-id>' \ --header 'x-project-id: <x-project-id>' \ --data ' { "name": "feature", "color": "#3B82F6" } '
{ "id": 1, "project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6", "name": "feature", "color": "#3B82F6" }
Organisation ID to specify the organisation context
Project ID to specify the project context
Name of the tag
"feature"
Color of the tag in hex format
"#3B82F6"
Unique identifier for the tag
1
The project this tag belongs to
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"