Skip to main content
If your signup form already asks “how did you hear about us?”, send the answer from your signup handler. Classification happens in the background, usually within seconds; the call returns 202 right away.
The REST API needs the Growth plan or higher. The 14-day signup trial includes it.

1. Create a secret key

In Settings → API keys, create a key of type Secret. It’s shown once, so store it in your secrets manager. Secret keys (sk_live_…) belong on your server only.

2. Send the answer

Response (202)
The example values above are illustrative.
  • answer is required (1–2,000 characters). Everything else is optional, but send email or external_id so the answer can be matched to revenue.
  • Idempotency-Key: send one per answer (your signup id works). A retry with the same key returns the original response with 200 instead of creating a second one.
  • answered_at: an ISO 8601 timestamp if the answer is older than the request (for backfills).
  • metadata: UTM parameters, referrer and landing_page feed the first-touch comparison; any other string, number or boolean keys are stored as-is.

3. Read the results

GET /v1/responses lists answers newest first with their classification and the customer’s monthly revenue. To sync results into your own systems, pass updated_since and follow next_cursor:
Correct a classification with PATCH /v1/responses/{id}. See the API reference for every field and error.