Poll for replies
CallGET /v1/replies to retrieve all classified replies across your workspace. Responses are paginated and sorted by receivedAt descending, so the most recent replies always appear first.
?campaignId= query parameter:
Act on classifications
Leadterra’s classification field lets you branch your logic without building a custom NLP layer. The most common classifications you’ll encounter are:
Use the
classification field to route each reply to the appropriate handler in your application or agent:
Use webhooks for real-time replies
Polling works well for low-volume campaigns or batch processing workflows, but if you need replies routed within seconds of receipt, use thereply.received webhook event instead. Register a webhook endpoint and Leadterra will POST each classified reply to your URL the moment it arrives.
See Register Webhooks for setup instructions and payload examples.