---
title: "Get partner analytics"
method: GET
path: "/api/v1/partner-portal/analytics/"
tags: ["Partner Portal"]
---

# Get partner analytics

`GET /api/v1/partner-portal/analytics/`

## Request

- Base URL: `https://docs.thredfi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.thredfi.com/api/v1/partner-portal/analytics/`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
  - HTTP bearer
  - HTTP bearer

Returns analytics for the partner's businesses

## Response `200`

- PartnerAnalytics: Serializer for partner analytics
  - `total_businesses` integer, required
  - `active_businesses` integer, required
  - `total_portal_users` integer, required

## Other responses

- `400`: Validation errors in request data
- `401`: Authentication required - missing or invalid API key
- `403`: Permission denied - insufficient privileges
- `404`: Resource not found
- `409`: Conflict - resource already exists or invalid state transition
- `422`: Unprocessable entity - business logic validation failed
- `500`: Internal server error

---

[API](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api.md) - [All operations](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thredfi/apis/thredfi-accounting-platform-api/revisions/0c1918254db3?raw)
