Tags
/tags
Create new tag.
POST
/
api
/
v1
/
tags
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tags' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My tag",
"color": "#FFFFFFF",
"userId": "123"
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My tag",
"color": "#FFFFFF"
}
}
Body
The name of the tag.
The color of the tag, should be valid HEX code.
The ID of the user that creates the tag
Response
Indicates whether the call was successful.
A tag
object.
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tags' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My tag",
"color": "#FFFFFFF",
"userId": "123"
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My tag",
"color": "#FFFFFF"
}
}
Copy
curl --location --request POST 'https://api.rapidagent.ai/api/v1/tags' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>' \
--data-raw '{
"name": "My tag",
"color": "#FFFFFFF",
"userId": "123"
}'
Copy
{
"success": true,
"data": {
"id": "cli28c2vd00016itbrlhekwql",
"name": "My tag",
"color": "#FFFFFF"
}
}
Assistant
Responses are generated using AI and may contain mistakes.