promosplit
Developers and AIs

Use PromoSplit from your AI

Your own AI assistant (Claude, ChatGPT, Cursor and others) can work your PromoSplit account: add products from the page where you already sell, edit and publish them, write the ads, read your sales and join products as a Content Partner.

It never spends moneyNo endpoint starts Meta ads, turns ads on or moves payouts: those stay on promosplit.com, where you see every number first. A key can only do what you can do in your own account.

1. Create a key

Sign in and open Your AI. Name the key after the AI that will use it and copy it: it starts with ps_live_ and is shown only once. Revoke it there any time and that AI stops right away.

2. Connect your AI

The PromoSplit MCP server gives your AI one tool per action below. It needs Node.js 18 or newer.

Claude Desktop

Settings, Developer, Edit Config. Add this to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "mcpServers": {
    "promosplit": {
      "command": "npx",
      "args": ["-y", "https://promosplit.com/mcp/promosplit-mcp.tgz"],
      "env": { "PROMOSPLIT_API_KEY": "ps_live_your_key" }
    }
  }
}

Claude Code

Terminal
claude mcp add promosplit -e PROMOSPLIT_API_KEY=ps_live_your_key -- npx -y https://promosplit.com/mcp/promosplit-mcp.tgz

Cursor and other MCP apps

Use the same command, npx -y https://promosplit.com/mcp/promosplit-mcp.tgz, with the env variable PROMOSPLIT_API_KEY. Then ask your AI things like "add the product on my page to PromoSplit" or "where did the money of my last sale go?".

3. Or call the API

GET/me

Your account: name, whether you sell, products, promotions, what you earned.

curl
curl https://promosplit.com/api/v1/me -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
POST/seller

Sets up your seller account (needed before adding products). Safe to call again.

curl
curl -X POST https://promosplit.com/api/v1/seller -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
GET/products

The products you sell: status, price, type, delivery, paid sales.

curl
curl https://promosplit.com/api/v1/products -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
POST/products/from-page

Reads the page where you already sell a product and creates a draft from it. Optional kind (digital, course, service, subscription) and delivery (files, link, service, access).

curl
curl -X POST https://promosplit.com/api/v1/products/from-page -H "Authorization: Bearer $PROMOSPLIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"url":"https://yoursite.com/product"}'
GET/products/:id

One product: the partner deal, delivery, ads and what is missing before it can sell well.

curl
curl https://promosplit.com/api/v1/products/PRODUCT_ID -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
PATCH/products/:id

Changes only the fields you send: title, tagline, description, audience, guarantee, bullets, cover_image_url, delivery_url, delivery_note, ad_partner_share_until_recovered, ad_partner_share_after, content_partner_share. price_usd and code_discount_pct only while it is a draft: once published, buyers and partners rely on them.

curl
curl -X PATCH https://promosplit.com/api/v1/products/PRODUCT_ID -H "Authorization: Bearer $PROMOSPLIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"tagline":"A weekly planner for deep work"}'
POST/products/:id/publish

Publishes a draft. It first checks the buyer can get what they pay for.

curl
curl -X POST https://promosplit.com/api/v1/products/PRODUCT_ID/publish -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
POST/products/:id/page-text

A suggested sales page text from PromoSplit's AI copywriter, from the product's own facts. Nothing is saved: PATCH the parts you keep. Optional notes.

curl
curl -X POST https://promosplit.com/api/v1/products/PRODUCT_ID/page-text -H "Authorization: Bearer $PROMOSPLIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"notes":"Stress that it works offline"}'
POST/products/:id/ads/rewrite

The AI rewrites the copy of the product's free ready-made ads.

curl
curl -X POST https://promosplit.com/api/v1/products/PRODUCT_ID/ads/rewrite -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
GET/sales

Recent sales you are part of, as seller, partner or ad creator. Optional ?product_id=

curl
curl https://promosplit.com/api/v1/sales -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
GET/sales/:id

One sale explained: what the buyer paid, payment processing, the PromoSplit fee, each share and what the seller keeps.

curl
curl https://promosplit.com/api/v1/sales/SALE_ID -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
GET/marketplace

Products open to promote, with their deals and past results. Optional ?q= and ?kind=

curl
curl "https://promosplit.com/api/v1/marketplace?q=planner" -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
GET/promotions

The products you promote: mode, share, earned, your link and code.

curl
curl https://promosplit.com/api/v1/promotions -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
POST/promotions

Joins a product as a Content Partner: your own link and discount code, no money in.

curl
curl -X POST https://promosplit.com/api/v1/promotions -H "Authorization: Bearer $PROMOSPLIT_API_KEY" -H "Content-Type: application/json" \
  -d '{"product_id":"PRODUCT_ID"}'

Questions or something missing? Write to support@promosplit.com.

PromoSplit for developers and AIs · PromoSplit