Strict technical specification for the submission endpoint.
URL: https://admin.pulse.bpcorp.eu/api/leads/submit
Method: POST
| Header | Required | Description |
|---|---|---|
Content-Type | Yes | Must be application/json |
X-Source-API-Key | Yes | The UUID key of the target Vertical. |
The payload is flexible (JSON schema-less), but standard fields are recommended for better routing.
{
"email": "john@example.com", // Required for most flows
"phone": "0612345678", // Recommended for SMS/Call
"first_name": "John",
"last_name": "Doe",
"channel": "facebook", // Critical for Campaign Mapping
"custom_data": { // Any nested data is preserved
"budget": "10k",
"project_type": "renovation"
}
}
Lead accepted and queued for distribution.
{
"success": true,
"lead_id": "550e8400-e29b-41d4-a716-446655440000",
"vertical": "Life Insurance",
"campaign": "Life Insurance - Facebook"
}
Validation failed or Spam detected.
{
"success": false,
"error": "Lead rejected: spam detected",
"reason": "Duplicate lead (24h)"
}
Invalid API Key.
{
"error": "Invalid API Key or inactive vertical"
}