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)
answeris required (1–2,000 characters). Everything else is optional, but sendemailorexternal_idso 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 with200instead of creating a second one.answered_at: an ISO 8601 timestamp if the answer is older than the request (for backfills).metadata: UTM parameters,referrerandlanding_pagefeed 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:
PATCH /v1/responses/{id}. See the API reference for every field and error.