Docs
Get API key

Stats

Get stats

GET/stats

The Analytics page’s numbers: connection requests, acceptance, messages, replies, Interested and meetings, for a time range, a campaign or a LinkedIn account. Leave out from and to for all time.

Try itSend a real request with your API key

Your key stays in this page and goes only to Salesteam.

Query

  • fromstring

    The start: a date (2026-11-01) or a date and time. Example: 2026-11-01.

  • tostring

    The end, not included. A date alone counts through that whole day (UTC). Example: 2026-11-12.

  • campaignIdstring

    One campaign.

  • accountIdstring

    One LinkedIn account (an ID from GET /accounts).

Answer

200 OK The numbers.

  • dataStatsRequired

    The Analytics page’s numbers for the range, campaign and account asked for.

    Inside it
    • fromstring · date-time or nullRequired
    • tostring · date-time or nullRequired

      The end, not included.

    • campaignIdstring or nullRequired
    • accountIdstring or nullRequired
    • connectionRequestsSentintegerRequired
    • acceptedintegerRequired
    • acceptanceRateinteger or nullRequired

      Accepted out of people sent a request, in percent. Null when there’s nothing to divide by.

    • messagesSentintegerRequired

      Messages and InMails.

    • contactedintegerRequired

      People sent a request, a message or an InMail.

    • repliesintegerRequired

      People who replied.

    • replyRateinteger or nullRequired

      Replied out of contacted, in percent. Null when there’s nothing to divide by.

    • interestedintegerRequired

      People who replied and are Interested now (tagged by you or by AI reply tags, or with a later outcome).

    • interestedRateinteger or nullRequired

      Interested out of replied, in percent. Null when there’s nothing to divide by.

    • meetingsBookedintegerRequired
    • meetingsAttendedintegerRequired
    • incompleteHistorybooleanRequired

      Some older sends in the range can’t be dated exactly, so message counts may be a little low.

Errors

  • 400 Bad requestinvalid_request invalid_json duplicate_in_request
  • 401 Unauthorizedunauthorized
  • 404 Not foundnot_found not_in_campaign
  • 429 Too many requestsrate_limited
  • 500 Server errorserver_error

Every error has the same shape. See Errors.

GET /stats
curl "https://app.salesteam.dev/api/v1/stats?from=2026-11-01" \
  -H "Authorization: Bearer $SALESTEAM_API_KEY"
200 answer
{
  "data": {
    "from": "2026-11-01T00:00:00.000Z",
    "to": "2026-11-13T00:00:00.000Z",
    "campaignId": null,
    "accountId": null,
    "connectionRequestsSent": 240,
    "accepted": 72,
    "acceptanceRate": 30,
    "messagesSent": 190,
    "contacted": 250,
    "replies": 31,
    "replyRate": 12,
    "interested": 9,
    "interestedRate": 29,
    "meetingsBooked": 4,
    "meetingsAttended": 3,
    "incompleteHistory": false
  }
}