Skip to main content
POST
/
v1
/
inbox
/
tags
Create inbox tag
curl --request POST \
  --url https://openapi.enginy.ai/v1/inbox/tags \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "Hot lead",
  "color": "#F97316"
}
'
{
  "status": "success",
  "message": "Inbox tag already exists",
  "data": {
    "id": 5,
    "name": "Hot lead",
    "color": "#F97316",
    "count": 18,
    "isPromptActive": false,
    "isEditable": true
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
name
string
required

Name for the tag

Required string length: 1 - 50
Example:

"Hot lead"

color
string
required

Color token or hex value for the tag

Required string length: 1 - 50
Example:

"#F97316"

Response

Inbox tag already exists

status
enum<string>
required
Available options:
success
message
string
required
data
object
required