---
title: "Get source stats"
method: GET
path: "/people/{personId}/source-stats"
tags: ["People"]
---

# Get source stats

`GET /people/{personId}/source-stats`

## Request

- Base URL: `https://api.modem.dev/v1`
- URL: `https://api.modem.dev/v1/people/{personId}/source-stats`
- Auth: HTTP bearer

Get message statistics by source platform for a person

## Path parameters

- `personId` string, required

## Response `200`

OK

- object
  - `data` object[], required
    - `messageCount` integer, required
    - `source` string, required

## Other responses

- `400`: Invalid request (validation failed).
- `401`: Missing or invalid API key.
- `403`: The API key does not have access to this resource.
- `404`: The requested resource was not found.
- `429`: Rate limit exceeded.
- `500`: Internal server error.

---

[API](https://skmtc.dev/modem/apis/modem-api.md) · [All operations](https://skmtc.dev/modem/apis/modem-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modem/apis/modem-api/revisions/f889038a1048?raw)
