Create a lead
Record a lead. Record-only: it is created at stage new, no message is sent and no AI run starts — the lead is picked up when the contact writes in (matched by phone/email). Idempotent per owning agent on phone/email: a repeat returns 200 with created: false and the existing lead. Does NOT emit the lead.created webhook (your system already knows).
Authorization
bearerAuth Org-scoped token, created at Settings → Integrations → Webhook. Looks like rf_org_…, shown once, sent as Authorization: Bearer rf_org_…. Rate limit: 120 requests/minute per token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/leads" \ -H "Content-Type: application/json" \ -d '{ "name": "Jane Buyer", "phone": "+971501234567", "email": "[email protected]", "profile": { "budget": "1.5M AED" }, "external_ref": { "system": "my-crm", "id": "crm-123", "url": "https://crm.example.com/leads/123" }, "owner_email": "[email protected]" }'{ "created": false, "lead": { "id": "3f1c2e00-9a1b-4c77-8d2e-2b6a1f0e9c34", "name": "Jane Buyer", "email": null, "phone": "+971501234567", "channel": "whatsapp", "qualification_stage": "qualified", "route_target": "hotLead", "profile": { "budget": "1.5M AED", "bedrooms": 2, "area": "Dubai Marina" }, "external_ref": { "system": "my-crm", "id": "crm-123", "url": "https://crm.example.com/leads/123" }, "conversation_url": "https://replyfirst.ae/app/chats/3f1c2e00-9a1b-4c77-8d2e-2b6a1f0e9c34", "created_at": "2026-07-15T09:30:00.000Z", "updated_at": "2026-07-15T09:31:12.000Z" }}{ "created": true, "lead": { "id": "3f1c2e00-9a1b-4c77-8d2e-2b6a1f0e9c34", "name": "Jane Buyer", "email": null, "phone": "+971501234567", "channel": "whatsapp", "qualification_stage": "qualified", "route_target": "hotLead", "profile": { "budget": "1.5M AED", "bedrooms": 2, "area": "Dubai Marina" }, "external_ref": { "system": "my-crm", "id": "crm-123", "url": "https://crm.example.com/leads/123" }, "conversation_url": "https://replyfirst.ae/app/chats/3f1c2e00-9a1b-4c77-8d2e-2b6a1f0e9c34", "created_at": "2026-07-15T09:30:00.000Z", "updated_at": "2026-07-15T09:31:12.000Z" }}{ "error": "Invalid JSON body"}{ "error": "Unauthorized"}{ "error": "Provide at least one of phone, email."}{ "error": "Rate limit exceeded"}