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.
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.
{
"mcpServers": {
"promosplit": {
"command": "npx",
"args": ["-y", "https://promosplit.com/mcp/promosplit-mcp.tgz"],
"env": { "PROMOSPLIT_API_KEY": "ps_live_your_key" }
}
}
}Claude Code
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
- Base address:
https://promosplit.com/api/v1 - Send your key in every call:
Authorization: Bearer ps_live_... - Answers are JSON. Errors are
{"error": "..."}with a plain message: 401 bad key, 404 not found, 409 locked after publishing, 429 too many calls or the AI limit for today. - Up to 60 calls per minute per key. The AI actions (page text, ad rewrite) share your daily AI allowance with the site.
/meYour account: name, whether you sell, products, promotions, what you earned.
curl https://promosplit.com/api/v1/me -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/sellerSets up your seller account (needed before adding products). Safe to call again.
curl -X POST https://promosplit.com/api/v1/seller -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/productsThe products you sell: status, price, type, delivery, paid sales.
curl https://promosplit.com/api/v1/products -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/products/from-pageReads 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 -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"}'/products/:idOne product: the partner deal, delivery, ads and what is missing before it can sell well.
curl https://promosplit.com/api/v1/products/PRODUCT_ID -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/products/:idChanges 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 -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"}'/products/:id/publishPublishes a draft. It first checks the buyer can get what they pay for.
curl -X POST https://promosplit.com/api/v1/products/PRODUCT_ID/publish -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/products/:id/page-textA 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 -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"}'/products/:id/ads/rewriteThe AI rewrites the copy of the product's free ready-made ads.
curl -X POST https://promosplit.com/api/v1/products/PRODUCT_ID/ads/rewrite -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/salesRecent sales you are part of, as seller, partner or ad creator. Optional ?product_id=
curl https://promosplit.com/api/v1/sales -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/sales/:idOne sale explained: what the buyer paid, payment processing, the PromoSplit fee, each share and what the seller keeps.
curl https://promosplit.com/api/v1/sales/SALE_ID -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/marketplaceProducts open to promote, with their deals and past results. Optional ?q= and ?kind=
curl "https://promosplit.com/api/v1/marketplace?q=planner" -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/promotionsThe products you promote: mode, share, earned, your link and code.
curl https://promosplit.com/api/v1/promotions -H "Authorization: Bearer $PROMOSPLIT_API_KEY"
/promotionsJoins a product as a Content Partner: your own link and discount code, no money in.
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.