Beam
Open Beam
Automation

New-lead webhook

Current documentation

The endpoint your CRM workflow calls when a new lead opts in.

POST https://beam.aisync.link/t/:workspace/optin?secret=YOUR_WEBHOOK_SECRET

This is the automation entry point: one POST per new lead, and Beam handles everything else. It is designed for CRM webhook actions (see the CRM guide) but anything that can POST JSON can call it.

FieldTypeDescription
phonestring, requiredThe lead's phone number.
first_namestring, optionalUsed to personalize the first-touch template.
contact_idstring, optionalYour CRM contact id. With it, Beam tags the contact and writes reply notes back to your CRM.
curl -X POST "https://beam.aisync.link/t/YOUR_WORKSPACE/optin?secret=YOUR_WEBHOOK_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "phone": "+15551234567",
    "first_name": "Sarah",
    "contact_id": "abc123"
  }'

Behavior

Opt-in leads onlyThis endpoint is for people who just asked to hear from you. Pointing it at a cold list is the fastest way to lose a number, and consent laws make it your legal problem. See Compliance.