API Reference

Direct REST API access to distribute.

Interactive API Reference

Try endpoints directly in the browser with our Scalar-powered docs.

Open API Docs

Base URL

https://api.distribute.you/v1

Authentication

All requests require your API key in the X-API-Key header:

curl https://api.distribute.you/v1/me \
  -H "X-API-Key: dist_YOUR_KEY"

TypeScript Client

npm install @distribute/api-client
import { DistributeClient } from "@distribute/api-client";

const client = new DistributeClient({ apiKey: "dist_YOUR_KEY" });
const { brands } = await client.listBrands();

Errors

CodeMeaning
400Bad request — invalid parameters
401Unauthorized — invalid or missing API key
404Resource not found
429Rate limit exceeded
500Internal server error

Endpoints