Two API Surfaces
Marketing Sources API
Submit leads directly to Mav via a unique POST endpoint tied to your playbook. Supports JSON and form-encoded payloads.
Outbound Webhooks
Subscribe to real-time event and outcome activity from Mav. Mav posts a JSON payload to your URL whenever something happens on a lead.
Event Activities
A reference of every event Mav can fire — from the first message sent through party line calls and copilot interventions.
Outcome Activities
A reference of every outcome Mav can fire — the terminal states that tell you how a lead’s playbook journey ended.
How the Two Surfaces Work Together
The inbound and outbound APIs are designed to create a closed loop between your systems and Mav:- You submit a lead — Your marketing platform, CRM, or custom code POSTs lead data to a Marketing Source postURL. Mav immediately enrolls the lead into the associated playbook.
- Mav works the lead — Mav sends messages, handles responses, and runs the lead through your configured playbook sequences.
- You receive activity updates — As the lead progresses, Mav fires webhook events and outcomes to your configured endpoint. You update your records, trigger follow-up workflows, or route the lead to a rep.
Quick-Start Flow
Follow these steps to get leads flowing in and results flowing back out.Step 1 — Create a Marketing Source
In the Mav dashboard, navigate to Integrations → Marketing Sources and create a new source tied to the playbook you want to use. Mav generates a uniquepostURL for that source.
Step 2 — Send Your First Lead
POST lead data to yourpostURL. A standard submission requires identity, residence, insurance, and TCPA consent fields. See the Marketing Sources API reference for the complete required field list.
Step 3 — Subscribe to Webhooks
In your playbook settings, add one or more webhook URLs under the Activity Subscriptions section. Select the events and outcomes you want to receive — you can subscribe to as many or as few as your workflow requires.Step 4 — Handle Incoming Payloads
Your endpoint receives a JSON payload each time a subscribed activity occurs. Use thelead_originators fields to match the activity back to the original lead in your system.
Authentication
Your Marketing Source
postURL contains your account and source identifiers. Treat it like a secret — anyone with the URL can submit leads to that playbook.Next Steps
- Read the Marketing Sources API reference to see the full field list and code examples.
- Read the Outbound Webhooks reference to understand the payload structure and best practices.
- Browse Event Activities and Outcome Activities for a complete list of everything Mav can fire.