Introduction
Starleads sends you conversation results in real-time via webhooks. Every time one of your AI agents completes a conversation, Starleads sends aPOST request to a URL of your choice containing the full campaign item data — including the classification tag, the conversation transcript, an AI-generated summary, and any custom metadata you configured.
How to set up
Log in to Starleads
Go to app.starleads.co and sign in to your account.
Open your Campaign settings
Navigate to the campaign you want to receive webhooks for, and open its Settings panel.
Enter your webhook URL
Paste the public URL of your webhook endpoint (e.g.
https://yourserver.com/webhook). Your endpoint must accept POST requests and return a 200 status code.Payload
Annotated example
The webhook sends a JSON payload representing a processed campaign item. Here’s the full structure with annotations:The Tag and Metadata fields are configurable in the Reporting section of your campaign settings.
Complete example
Here is the complete payload for copy-paste integration:Receive the webhook
Here’s how to receive and parse the webhook payload in your application:Properties
Unique identifier of the campaign item.
Identifier of the campaign this item belongs to.
Date and time the campaign item was created.
Date and time the item was processed.
Date and time of the last call attempt.
Current status of the campaign item. See RunningStatus.
Number of attempts made for this item.
Phone number associated with this campaign item.
Date and time of the next call or processing attempt.
Dictionary containing additional information specific to this item (e.g.
firstname, email). Keys correspond to the fields configured in your campaign.Result of the task associated with this item, including the tag, conversation, summary, and metadata. See Result.
Whether the campaign item has been archived.
Nested objects
Result
Result
Represents the result of a task or call associated with the campaign item.
| Field | Type | Description |
|---|---|---|
Tag | object | Call classification tag. See Tag below. |
Conversation | object | Messages exchanged during the call. See Conversation below. |
Summary | string | AI-generated summary of the call. |
IsSystem | boolean | Whether the result was generated by the system (e.g. no answer, invalid number). |
Metadata | object | Key-value pairs of custom metadata extracted from the call. |
Tag and Metadata are configurable in the Reporting section of your campaign settings.
Tag
Tag
Categorization information assigned to the call based on your reporting rules.
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier of the tag. |
Name | string | Tag name (e.g. Appointment, Not interested). |
Color | string | Tag color in hexadecimal format (e.g. #1ee5a6). |
Conversation & Message
Conversation & Message
The conversation object contains the full transcript of the call.Conversation fields:
Message fields:
| Field | Type | Description |
|---|---|---|
_id | string | Unique identifier of the conversation. |
Messages | Message[] | Ordered list of messages exchanged during the call. |
| Field | Type | Description |
|---|---|---|
Timestamp | DateTime | Date and time of the message. |
Role | string | user (the prospect) or assistant (the Starleads agent). |
Text | string | Text content of the message. |
Intent | string | Detected intent of the message (can be empty). |
TaskEvent
TaskEvent
Events recorded during the lifecycle of the campaign item.
| Field | Type | Description |
|---|---|---|
Type | Event | Event type. See Event. |
Date | DateTime | Date and time when the event occurred. |
Description | string | Optional description of the event. |
Enums
Enum: RunningStatus
Indicates the current status of the campaign item.| Value | Description |
|---|---|
Pending | Waiting — the task has not started yet. |
Calling | The task is in progress (e.g. call in progress). |
Processed | The task completed successfully. |
ProcessingResult | The result is being processed. |
Error | An error occurred during processing. |
Enum: Event
Represents the different event types that can occur during the lifecycle of a campaign item.| Value | Description |
|---|---|
LaunchCall | Call started. |
ResetCall | Call reset. |
EndCall | Call ended. |
ProcessingResult | Result processing. |
Error | An error occurred. |
PickUp | The call was picked up by the user. |

