For brands
Use the brand API and MCP
Draft, edit and submit releases and pull your stats from your own tools or an AI assistant, with a brand API key. Included in every plan.
Every plan includes the brand API and the brand MCP server. With them, your own tools or an AI assistant can draft releases, edit them, send them for review and read your stats, without opening the portal.
This is different from the public API and MCP. Those are free, need no key, and only read releases that are already published. The brand versions need a key, see your drafts and private stats, and can create and submit releases.
Make a key
- Sign in and open API in your brand account.
- Name the key after what will use it, for example "Claude" or "CRM sync", and click Make a key.
- Copy the key straight away. It starts with
awk_and is shown only once.
Only brand owners can make and revoke keys. A key works for one brand. If you run several brands, make a key in each. Keep keys in a secret store or environment variable, never in a website or app other people can download. If a key leaks, revoke it on the same page and make a new one.
A key stops working when it's revoked, when the person who made it leaves the brand's team, or when the brand no longer has a plan.
What a key can do
A key acts like a teammate:
- It can create drafts and edit them while they are drafts, or after an editor asks for changes.
- It can submit a release that is free (Publish), already paid, or fully covered by your plan credits. Submitting spends those credits.
- It can't pay. If a release costs more than your credits cover, the API answers with a link where a brand owner can pay in the portal.
- It can read every release of the brand, the editor's notes, and the delivery and click reports.
Every release still goes to an Affiliwire editor before it runs, the same as one filed in the portal.
Connect an AI assistant
The brand MCP server is at https://mcp.affiliwire.com/mcp/brand. It reads the key from the Authorization header.
- Claude Code:
claude mcp add --transport http affiliwire-brand https://mcp.affiliwire.com/mcp/brand --header "Authorization: Bearer awk_YOUR_KEY" - Cursor, Claude Desktop and other clients with a JSON config: add a server with the URL above and the header
Authorization: Bearer awk_YOUR_KEY.
Then ask in plain language, for example: "Draft an Affiliwire release announcing our commission going from 20% to 30% for SaaS affiliates in North America and the UK, send date next Tuesday, Distribute. Show it to me before you submit."
| Tool | What it does |
|---|---|
| get_brand | Plan, credits left, free releases left, bookable send dates |
| list_my_releases | Your releases and their status |
| get_my_release | One release in full, with editor notes and its report |
| create_release_draft | Create a draft (nothing is submitted or charged) |
| update_release_draft | Change fields of a draft |
| submit_release | Send a release to the editors |
| get_brand_stats | Deliveries and clicks by month and channel |
| list_taxonomy | The vertical, payout model, GEO and update type values |
REST API
Base URL https://affiliwire.com/api/v1/brand. Send Authorization: Bearer awk_YOUR_KEY on every request, and JSON bodies with Content-Type: application/json. Each key can make 120 requests a minute.
| Method | Path | What it does |
|---|---|---|
| GET | /api/v1/brand | Plan, credits left, free releases left, bookable send dates |
| GET | /api/v1/brand/releases | Your 100 most recently updated releases |
| POST | /api/v1/brand/releases | Create a draft |
| GET | /api/v1/brand/releases/:id | One release with its report |
| PATCH | /api/v1/brand/releases/:id | Change fields of a draft; send only what changes |
| POST | /api/v1/brand/releases/:id/submit | Send to the editors |
| GET | /api/v1/brand/stats | Deliveries and clicks by month and channel |
Create a draft:
curl https://affiliwire.com/api/v1/brand/releases \
-H "Authorization: Bearer awk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Acme raises affiliate commission to 30% recurring",
"snippet": "Acme affiliates now earn 30% recurring on every plan for the first 12 months, up from 20%.",
"bodyMd": "Starting next month, Acme pays 30% recurring commission ...",
"ctaUrl": "https://acme.com/affiliates",
"ctaLabel": "Join the program",
"updateType": "commission-change",
"categories": ["saas"],
"models": ["recurring"],
"geos": ["na", "uk"],
"sendDate": "2026-12-08",
"tier": "distribute"
}'
The values for updateType, categories, models and geos come from the public taxonomy endpoint. The send date must be in the range GET /api/v1/brand returns.
Answers are JSON. Success is { "data": … }. Errors are { "error": { "code": "…", "message": "…" } }, with these statuses:
| Status | Meaning |
|---|---|
| 400 | The release isn't valid; the message says which field |
| 401 | Missing, wrong or revoked key |
| 402 | Payment needed; a brand owner pays at the link in the message |
| 403 | The brand has no plan |
| 404 | No such release in this brand |
| 409 | The release can't change now (locked, already submitted, date taken) |
| 429 | Rate limit |
Still stuck?
Email hello@affiliwire.com or check the FAQ.