REST API

Partner data API.

A REST export API for data partners integrating SalesTeams leads and campaigns into their own systems. This isn't self-serve, access is issued per partner.

Want API access for your platform? partners@salesteams.ai

Authentication

Every request needs a Bearer token issued to your integration, plus your registered origin for CORS:

cURL
curl https://api.salesteams.ai/api/external/leads?per_page=25 \
  -H "Authorization: Bearer $PARTNER_API_KEY"

Endpoints

GET/api/external/leads

Paginated export of companies with enrichment (industry, vertical, contacts).

Params: page, per_page (max 100), campaign_id, industry_id, vertical_id, has_website, min_google_rating, enrichment_level, since
GET/api/external/leads/:id

Single lead with full enrichment detail.

Params:
GET/api/external/campaigns

Paginated campaigns with taxonomy (industry, vertical, geography).

Params: page, per_page, status, industry_id, vertical_id, geography_id, has_leads, min_leads
GET/api/external/taxonomy

All active industries, verticals, and vertical intelligence. Cache for 24 hours, data rarely changes.

Params:

Response shape

GET /api/external/leads
{
  "data": [
    {
      "id": "cmp_...",
      "name": "CapeMove Physio",
      "phone": "+27 21 433 8120",
      "email": "info@capemove.co.za",
      "website": "capemove.co.za",
      "google_rating": 4.8,
      "enrichment_level": "deep",
      "social_media": { "instagram": null, "facebook": null, "linkedin": null, "twitter": null, "tiktok": null },
      "industry": { "id": "ind_...", "name": "Healthcare", "slug": "healthcare" },
      "vertical": { "id": "vrt_...", "name": "Physiotherapy", "slug": "physiotherapy" },
      "contacts": [
        { "id": "cnt_...", "name": "Dr. Lindi Petersen", "title": "Practice Owner", "email": "lindi@capemove.co.za", "is_primary_lead": true }
      ],
      "created_at": "2026-06-18T09:00:00Z",
      "updated_at": "2026-06-28T14:22:00Z"
    }
  ],
  "pagination": { "page": 1, "per_page": 25, "total": 182, "total_pages": 8 }
}