distribute.you API Reference
Agent quickstart
- Base URL
https://api.distribute.you/v1- Auth
Authorization: Bearer distrib.usr_YOUR_KEYon every REST and MCP call. TheX-API-Keyheader is NOT accepted for user keys: it answers 401.- First call
GET /v1/me(or thedistribute_statusMCP tool). It needs no brand or organization named, and lists every organization the key can act in, each with its brands. Tell the human which organizations and brands you see before anything else.- Scope
- One key is one user, across every organization that user belongs to. Membership is checked on each call, so leaving an organization removes it from the key. A key never belongs to a brand, and it carries no staff powers.
- Name a brand on each call
- Each call acts in ONE organization. Name a brand:
?brandId=, thex-brand-idheader,brandId(orbrandIds) in a JSON body, or/v1/brands/{id}in the path. When a brand sits in several of your organizations, add?orgId=(or thex-org-idheader). Calls about no brand name the organization withorgId. A user in exactly one organization can name nothing. Routes keyed only by a campaign id needbrandIdororgIdtoo when the user is in several organizations. - Targeting errors
- Every refusal carries
code,messageandfix.400 org_target_required: you named nothing and belong to several organizations; pick one from theorganizationslist in the body (or fromGET /v1/me) and send itsbrandIdororgId.400 brand_in_several_orgs: addorgId.400 brands_span_orgs: the brands are in different organizations; make one call per organization.403 org_not_member: that organization is not one of yours; use an id fromGET /v1/me.403 no_organization: the user belongs to no organization; ask the human to create or join one in the dashboard.404 org_not_foundorbrand_not_found: the id is wrong; readGET /v1/meagain.503 membership_unavailable: retry, keep the same key. - Key refused
- A 401 means the key was mistyped, revoked or not sent. Show the human the error as served and ask for a new key from https://dashboard.distribute.you/api-keys. Keys start with
distrib.usr_. - Dashboard
- https://dashboard.distribute.you (API keys sit in the account menu, under API Keys).
- MCP server
https://mcp.distribute.you/mcp, exactly 6 tools:distribute_status,distribute_list_brands,distribute_suggest_icp,distribute_list_campaigns,distribute_campaign_stats,distribute_list_workflows. Everything else goes through the REST API.
How to report results to a human
Lead with what the customer pays for: meetings booked and positive replies, then money earned or return when the API serves it, then the delivery rate ("98% delivered", not "531 sent, 518 delivered"). Volume sent and cost come next. Failures such as bounces and errors go last, in a details line. Never hide a number: 0 positive replies is said plainly.
Direct REST API access to distribute.you. The machine-readable contract for everything on this page is the OpenAPI document.
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 Authorization header:
curl https://api.distribute.you/v1/me \
-H "Authorization: Bearer distrib.usr_YOUR_KEY"From a shell
The CLI is the shortest path from a terminal or a CI job. It authenticates once with an API key, prints JSON on stdout, prints JSON on stderr when it fails, and exits non-zero, so it can be driven without parsing prose.
npx @distribute.you/cli --helpdistribute ops lists every operation this API has, read from the API itself rather than from a list that can go stale. The package is on npm as @distribute.you/cli.
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
Billing
Balance, account settings, transactions
Costs
Cost breakdown and delivery statistics
Webhooks
Real-time event notifications
Every developer surface distribute.you publishes, this API included, is named together at https://distribute.you/developers.