Skip to main content

Authentication

All API requests require an API key via the X-SalesLobe-Key header. Generate keys in Settings → Connections → API Keys.

warning

Keep your API key secret — never expose it client-side or in public repositories. Rotate immediately if compromised.

curl https://<base>/v1/leads \
-H "X-SalesLobe-Key: sl_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json"

Key types

PrefixTypeDescription
sl_live_xxxxxProductionFull access within your configured scopes
sl_test_xxxxxTestTest events only, no production data affected
sl_partner_xxxxxPartnerLimited to specific scopes — for white-label integrations

Scopes

ScopeGrants access to
suggestPOST /v1/suggest, POST /v1/suggest/feedback
leads.readGET /v1/leads, GET /v1/replies/:id
leads.writePATCH /v1/leads/:id
replies.sendPOST /v1/replies/:id/send
campaigns.readGET /v1/campaigns
reports.readGET /v1/reports, GET /v1/reports/:id
webhooks.managePOST/GET/DELETE /v1/webhooks
*All endpoints (default for live keys)