Complete reference for receiving leads as a buyer or submitting leads as a publisher. Endpoint, authentication, request/response schemas, error codes, and code samples.
All API requests use Bearer token authentication. Your API token is issued when your application is approved. Include it in every request:
All issued tokens are production tokens (dl_live_ prefix). Contact Dreamy@dreamyleads.com to request sandbox access for integration testing.
As a buyer, you provide an HTTPS endpoint that we POST lead data to when you win an auction. Your endpoint must:
"status": "accepted" or "status": "rejected"We send the following headers on every buyer webhook delivery:
HMAC-SHA256 request signing is available for enterprise integrations. Contact Dreamy@dreamyleads.com to enable webhook signatures on your account.
As a publisher, you POST leads to our inbound endpoint. The ping-tree responds in real time with an accept or reject decision and a bid price.
All fields marked * are required. Vertical-specific fields are marked with their vertical.
All responses are JSON. A successful accepted lead returns:
A rejected lead returns:
| HTTP Status | Meaning | Action |
|---|---|---|
200 accepted | Lead qualified and bid placed — buyer matched | Record lead_id for tracking |
200 rejected | Lead received but rejected (low score, no buyer match, or filter mismatch) | No charge; log reason and continue |
400 | Malformed request (missing required fields) | Fix payload; do not retry |
401 | Invalid or missing Bearer token | Check token; do not retry |
422 | TCPA consent fields missing or invalid | Fix tcpa_timestamp, tcpa_text, tcpa_url; do not retry |
5xx | Server error | Retry with exponential backoff: 1s, 2s, 4s, 8s |
For 5xx responses, retry with exponential backoff: 1s, 2s, 4s, 8s, then abandon. Never retry 4xx responses — they indicate a fixable problem with your request, not a transient server issue.
Need help integrating?
Email Dreamy@dreamyleads.com with your lead_id and the response you received. We respond within 24 hours on business days.