---
title: "GET /api/distributors"
method: GET
path: "/api/distributors"
tags: ["api", "distributor"]
---

# GET /api/distributors

`GET /api/distributors`

Get all active distributors

## Query parameters

- `salesChannelId` string — The ID of the sales channel.

## Response `200`

OK

- GETDistributorGetAllActiveDistributors200Response
  - `docs` DistributorResource[]
    - `_id` string, required — The ID of the distributor
    - `salesChannelId` string, required — The ID of the sales channel
    - `createdAt` string, date-time, required — The ISO timestamp when the distributor was created
    - `updatedAt` string, date-time, required — The ISO timestamp when the distributor was updated
    - `archivedAt` string, date-time — The ISO timestamp when the distributor's sales channel was archived
  - `total` integer

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
