API Reference
Direct REST API access to distribute.
Interactive API Reference
Try endpoints directly in the browser with our Scalar-powered docs.
Base URL
https://api.distribute.you/v1Authentication
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-clientimport { DistributeClient } from "@distribute/api-client";
const client = new DistributeClient({ apiKey: "dist_YOUR_KEY" });
const { brands } = await client.listBrands();Errors
| Code | Meaning |
|---|---|
400 | Bad request — invalid parameters |
401 | Unauthorized — invalid or missing API key |
404 | Resource not found |
429 | Rate limit exceeded |
500 | Internal server error |
Endpoints
Brands
Create brands from URLs, extract structured data with AI
Features
Browse automation types, stats, and prefill inputs
Campaigns
Create, stop, and monitor campaigns
Workflows
Inspect workflows, DAGs, and key status
Leads
List discovered leads and their outreach status
Emails
View generated emails and sequences
Outlets
Media outlets discovered for your brand
Journalists
Journalists discovered for PR outreach
Articles
Articles mentioning your brand
Press Kits
Generate and manage press kits
Billing
Balance, account settings, transactions
Costs
Cost breakdown and delivery statistics
Webhooks
Real-time event notifications