API reference introduction
This reference defines the supported HTTP contracts for partner integrations:- Lead ingest webhooks
- Transaction confirmation, rejection, Storno, and payout callbacks
- The generic outbound buyer webhook payload
- Health check
Conventions
- JSON request/response
Content-Type: application/json- ISO 8601 timestamps where present
- Opaque IDs; do not infer meaning from their format
- Secrets in
X-Airlead-Webhook-SecretorAuthorization: Bearer - Stable external IDs for idempotent ingest
- Transaction IDs for buyer lifecycle callbacks
Before implementation
- Create the source or buyer in Airlead.
- Obtain the exact URL and credential for that resource.
- Use synthetic data in a test configuration.
- Verify duplicate and retry behavior.
- Store credentials outside code and logs.
OpenAPI
Machine-readable specification:openapi.yaml.
Validate local changes with:

