API Reference — Trigger Voxinity from LeadConnector
Five webhook endpoints you can call from any LeadConnector workflow: outbound calls, scraping, screenshots, follow-up chat, post-call SMS.
Voxinity exposes five webhook endpoints that your LeadConnector workflows can fire to trigger AI actions. Pair these with LeadConnector's HTTP Request action to build powerful automations — call new leads the moment they fill out a form, scrape a prospect's website before the call, post-call SMS follow-ups, and more.
All five live in Sub-Account → Settings → API & Webhooks. Each tab shows the request format, required fields, response shape, and a 'Send Test Data' button that fires the documented sample payload to any URL you paste (so LeadConnector can capture the field schema for workflow building).
Available endpoints
Authentication
Every request needs your sub-account API key. Pass it three ways (pick whichever LeadConnector handles cleanest in your workflow):
- Body: "api_key": "sk_live_..."
- Header: X-API-Key: sk_live_...
- Query param: ?api_key=sk_live_...
Send Test Data button
Every API Reference tab has a 'Send Test Data' card. Paste your LeadConnector Inbound Webhook URL → click Send → Voxinity fires the documented sample payload to that URL. LeadConnector captures the field schema so you can map the fields in your workflow builder without writing a single line of code. Same pattern as the New User Webhook test in the admin panel.
Typical workflow shape (Outbound Call)
- LeadConnector trigger: Contact created with tag 'new-lead'.
- Action: HTTP Request → POST to https://voxinity.ai/api/webhooks/outbound/trigger with body {api_key, agent_id, to_number: {{contact.phone}}, context: {first_name, company, notes}}.
- Voxinity dials the contact, runs the AI call, applies outcome tags back to the contact in LeadConnector.
- Optional next step: trigger Post-Call SMS or move the contact to a new pipeline stage based on outcome.