Docs
Get API key

Get started

Quickstart

  1. In Salesteam, open Settings → API keys and click Create API key. Copy it now: it’s shown once.
  2. Check the key. The answer names the workspace it belongs to.
cURL
curl https://app.salesteam.dev/api/v1/me \
  -H "Authorization: Bearer $SALESTEAM_API_KEY"
  1. Find a campaign with GET /campaigns, then add a lead to it:
cURL
curl -X POST https://app.salesteam.dev/api/v1/campaigns/CAMPAIGN_ID/leads \
  -H "Authorization: Bearer $SALESTEAM_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"leads":[{"linkedinUrl":"https://www.linkedin.com/in/jamie-lee-example","firstName":"Jamie","email":"jamie@example.co"}]}'

The answer lists every lead as added, updated or skipped, and why.