Skip to main content

Overview

The Speed-to-Lead intake webhook is the endpoint partners and lead providers POST leads to. Each accepted lead is recorded, matched against your configured field mappings, and queued for outbound AI outreach according to your team’s scheduling rules.

Authentication

Authenticate with your Avoca API key using either header:

Request

Send any JSON object — field names are resolved through your team’s configured field mappings, so you can point most lead sources at Avoca without reshaping their payloads. Standard target fields include: Each mapping is a first-match-wins alias list (e.g. phone_numberphone, Phone, contact.phone), configured per team by the Avoca team.

Response

Success:
Errors:

Scheduling Behavior

When the AI calls the lead is governed by your team’s configured scheduling mode:
  • always — call as soon as the lead arrives
  • business_hours — call immediately during business hours; queue otherwise
  • after_hours — only outside business hours
  • custom — custom windows configured with the Avoca team

Enterprise Routing

enterprise_all_teams keys can ingest leads for multiple brands through one endpoint. Routing rules on the anchor team’s configuration map a payload field value to the target team; unmatched leads are rejected by default or routed to a configured default team. Target teams are validated against the enterprise’s membership.

Tracking Leads Downstream