Adwix AtlasPlatform

Leads API

List, create and fetch leads. Creating through the API runs the exact same pipeline as the lead webhook — field mapping, automations, ad attribution — so a lead behaves identically however it arrives.

List leads#

GEThttps://adwixatlas.com/api/v1/leads
FieldAccepted keysNotes
limit?limit=251–100, default 25.
offset?offset=0Skip N rows. Newest first (created_at desc).
status?status=newOptional filter: new · contacted · qualified · proposal_sent · negotiating · confirmed · lost · cancelled. Unknown values → 422.
Request
curl "https://adwixatlas.com/api/v1/leads?limit=25&status=new" \
  -H "Authorization: Bearer aa_live_xxxxxxxxxxxxxxxx"
Response — 200
{
  "data": [
    {
      "id": "3f7c2b9e-…",
      "name": "Rahul Sharma",
      "phone": "+91 98765 43210",
      "email": "rahul@example.com",
      "destination": "Bali",
      "budget": 150000,
      "pax": 2,
      "travel_date": "12 Aug 2026",
      "status": "new",
      "source": "website",
      "score": 0,
      "notes": "Looking for a honeymoon package",
      "follow_up_date": null,
      "tags": [],
      "created_at": "2026-07-21T09:12:33.000Z",
      "updated_at": "2026-07-21T09:12:33.000Z"
    }
  ],
  "has_more": true
}

Create a lead#

POSThttps://adwixatlas.com/api/v1/leads

Accepts the same generous field aliases as the lead webhook — at least one of name, phone or email is required (422 otherwise); unmapped keys are preserved in the lead's notes; fbclid/fbc/fbp attribution is honoured. Two API-specific behaviours:

— source defaults to "api" when omitted (the webhook defaults to "meta") — still, always send your real source.
— A valid status in the body is honoured (useful for migrations); invalid values are ignored and the lead lands as new.

Request
curl -X POST https://adwixatlas.com/api/v1/leads \
  -H "Authorization: Bearer aa_live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Rahul Sharma",
    "phone": "+91 98765 43210",
    "destination": "Bali",
    "budget": 150000,
    "pax": 2,
    "travel_date": "12 Aug 2026",
    "source": "crm-import",
    "notes": "Migrated from our old system"
  }'

Returns 201 with the created lead. Your “New lead created” automations fire and, when Meta is connected and attribution ids were sent, a server-side Lead conversion event goes out — exactly as if the lead had arrived via the webhook.

Fetch one lead#

GEThttps://adwixatlas.com/api/v1/leads/{id}

Returns { "data": { … } } or 404 — including for ids belonging to another workspace; a key can never see across tenants.

Bulk import tip: the 120/min per-key limit means ~7,000 leads/hour sequentially. For a one-time migration, send in batches with a small delay and honour any 429 + Retry-After you hit.