Test Label Prediction Beta
Run the reply categorizer on pasted text.
https://api.foxreach.io/ api/ v1/ lead-labels/ testRequires an API key with the write scope.
Runs the same reply categorizer that sorts incoming replies and returns what it would say about the text you send. Nothing is stored and no lead is touched.
The category is one of the built-in reply categories (interested, not_interested, out_of_office, bounce, unsubscribe, uncategorized). It is not one of your workspace's lead labels.
Costs 1 AI credit once the categorizer has answered. A call that fails upstream charges nothing. A workspace out of AI credits gets 403 with code ai_credits_exhausted. Only the first 4,000 characters of body are judged.
Request Body
body string body required subject string body fromEmail string body Errors
| Status | Description |
|---|---|
401 | Missing, invalid, revoked or expired API key |
403 | API key does not have the required scope write, or the plan has no AI credits left (ai_credits_exhausted) |
422 | Missing or oversized body, subject or fromEmail |
502 / 503 | The categorizer failed or is unavailable. Nothing was charged |
Rate Limit
- 100 requests per minute, shared by every
expensivecall in your workspace. Fixed 60-second window. - Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset(unix epoch seconds) andX-RateLimit-Bucket(expensive). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
For client-side patterns, see Rate Limiting.