Skip to main content
POST
/
api
/
v2
/
lead-labels
/
ai-reply-label
Test AI reply label prediction
curl --request POST \
  --url https://api.instantly.ai/api/v2/lead-labels/ai-reply-label \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reply_text": "Thanks for reaching out. I am interested in learning more."
}
'
{
  "result": "Hot Lead",
  "custom_labels_considered": [
    "Hot Lead",
    "Needs Follow-up"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
reply_text
string
required

The reply text to classify.

Example:

"Thanks for reaching out. I am interested in learning more."

Response

Default Response

result
string

The predicted lead label.

Example:

"Hot Lead"

custom_labels_considered
string[]

AI-enabled custom labels considered during classification.

Example:
["Hot Lead", "Needs Follow-up"]