cURL
curl --request POST \ --url http://api.stuut.ai/v1/tags \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "color": "<string>" } '
{ "name": "<string>", "object": "<string>", "id": "<string>", "color": "<string>", "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "rule_condition": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The name of the tag.
The hex color code of the tag, if any.
20
Successful response
32