API

Lead-intake API

Forward leads from any external tool — Zapier, Make, Meta Lead Ads, a custom landing page — straight into your Sendcore audience. Each lead is deduplicated, marked subscribed, and enrolled into your welcome automation, exactly like a signup form.

1. Create an API key

  1. Go to Store settings → API keys.
  2. Click Create key, name it (e.g. “Zapier”), and copy it. It's shown only once.

2. Endpoint

POST https://www.sendcore.me/api/leads/intake. Authenticate with your key as a Bearer token. Send a JSON body with at least an email. Optional: first_name, last_name, phone, source. Common aliases (full_name, phone_number) are accepted.

Shell
curl -X POST https://www.sendcore.me/api/leads/intake \
  -H "Authorization: Bearer sc_live_xxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"email":"customer@example.com","first_name":"Alex","source":"meta_lead_ads"}'

3. Connect it in Zapier

In a Zapier Webhooks → POST action, under Headers add name Authorization and value Bearer sc_live_… (the word Bearer, a space, then your key — not the bare key).

Getting a 401?

Some tools prefer a dedicated header. In that case use header name X-API-Key with the value set to your key without the “Bearer” prefix. Sendcore accepts both.

What happens to a lead

  • De-duplicated by email (an existing contact is updated, not duplicated).
  • Marked subscribed and, if a welcome automation is active, enrolled.
  • Name/phone land on the contact's profile.

Next steps