Event Payloads
- lead.created
- lead.replied
- lead.bounced
- lead.updated
- reply.sent
- corty.suggested
- report.generated
{
"event": "lead.created",
"timestamp": "2026-03-21T10:00:00Z",
"workspace_id": "org-abc123",
"data": {
"from_email": "john@acme.com",
"from_name": "John Doe",
"campaign_id": "uuid",
"campaign_name": "Q1 SaaS Outreach",
"first_seen_at": "2026-03-21T10:00:00Z"
}
}
{
"event": "lead.replied",
"timestamp": "2026-03-20T14:30:00Z",
"workspace_id": "org-abc123",
"data": {
"email": "john@acme.com",
"first_name": "John Doe",
"campaign_id": "uuid",
"reply_id": "uuid",
"reply_text": "Sounds interesting, can we schedule a call?",
"classification": null
}
}
info
reply_text is truncated to 500 characters. Use GET /v1/replies/:id (with the included reply_id) for the full body and thread. classification is null at the time of this event — classification happens asynchronously afterward.
{
"event": "lead.bounced",
"timestamp": "2026-03-20T14:30:00Z",
"workspace_id": "org-abc123",
"data": {
"reply_id": "uuid",
"from_email": "john@acme.com",
"campaign_id": "uuid",
"campaign_name": "Q1 SaaS Outreach",
"bounce_type": "hard"
}
}
{
"event": "lead.updated",
"timestamp": "2026-03-21T10:00:00Z",
"workspace_id": "org-abc123",
"data": {
"lead_id": "uuid",
"email": "john@acme.com",
"campaign_id": "uuid",
"classification": "hot",
"notes": "Spoke on phone, very interested"
}
}
{
"event": "reply.sent",
"timestamp": "2026-03-20T14:30:00Z",
"workspace_id": "org-abc123",
"data": {
"reply_id": "uuid",
"to_email": "john@acme.com",
"to_name": "John Doe",
"campaign_id": "uuid",
"body": "Hey John, great to hear you're interested...",
"similarity_score": 0.92
}
}
{
"event": "corty.suggested",
"timestamp": "2026-03-20T14:30:00Z",
"workspace_id": "org-abc123",
"data": {
"lead_email": "john@acme.com",
"campaign_id": "uuid",
"reply_id": "uuid",
"suggestion": "Hey John, thanks for your interest...",
"confidence": 0.87,
"tone": "hot"
}
}
info
suggestion is truncated to 500 characters. Use GET /v1/replies/:id for the full context.
{
"event": "report.generated",
"timestamp": "2026-03-21T17:00:00Z",
"workspace_id": "org-abc123",
"data": {
"report_id": "uuid",
"report_type": "friday",
"title": "Friday Intelligence Brief — 21 mrt 2026",
"executive_summary": "Corty improved 3 campaigns, caught 2 issues.",
"period_start": "2026-03-17",
"period_end": "2026-03-21"
}
}