interested or out_of_office), a snippet of the thread, and the timestamp it was received. You can retrieve all replies across your workspace or narrow the results to a single campaign using the campaignId query parameter.
Endpoint
Authorization
All requests must include a valid API key in theAuthorization header as a Bearer token.
Query Parameters
When provided, the response is filtered to include only replies associated with the specified campaign. Omit this parameter to retrieve replies across all campaigns in your workspace.
Example Request
Response Fields
The response is an array of reply objects. Each object contains the following fields:The unique identifier for this reply.
The email address of the lead who sent the reply.
The ID of the campaign that generated the outbound thread this reply belongs to.
Leadterra’s automated classification of the reply intent. Possible values:
interested— the lead has expressed positive intent or requested more information.not_interested— the lead has declined or asked to stop outreach.out_of_office— an automated out-of-office or vacation reply was detected.bounce— the message could not be delivered and generated a delivery failure notice.unsubscribe— the lead explicitly requested removal from future emails.
ISO 8601 timestamp indicating when the reply was received by Leadterra.
A short excerpt from the reply body, suitable for displaying in a list view or feeding into a downstream agent prompt.
Example Response
Error Codes
| Code | Meaning |
|---|---|
400 | Bad Request — a query parameter is malformed or contains an invalid value. |
401 | Unauthorized — your API key is missing, invalid, or revoked. |
404 | Not Found — no campaign exists for the provided campaignId in your workspace. |
422 | Unprocessable Entity — the request could not be processed due to a validation error. |