Bring your own AI.

Affilikit doesn't write your kit for you with a model we picked. Connect the assistant you already use: it writes the emails, posts and scripts, and Affilikit hosts them, keeps them current and shares them with your affiliates.

Make a key in your workspace under Connect your AI. A key works for one brand, on Affilikit only.

MCP server

Streamable HTTP, with the key in the Authorization header.

https://affilikit.com/mcp
  • get_workspace · Brand and kits

    Shows the brand this key belongs to, its kits (status, access, asset count, links) and the upload limits. Use it first to find a kit's id.

  • list_asset_kinds · Asset kinds

    Lists the kinds of asset a kit can hold (banner, logo, email, social post, text ad, video script, article, talking points, file), the fields each takes in "data", and which need a file. Text may contain the placeholders {{link}}, {{coupon}} and {{name}}, which each affiliate fills in with their own.

  • get_kit · Read a kit

    Reads one of the brand's kits in full: program facts, promotion rules, brand voice, access settings and every asset with its fields and file.

  • create_kit · Create a kit

    Creates a new kit as a draft (not visible to anyone until published). Needs a name; can also set a summary, access ("public" or "private"), program facts (commission, cookie window, payouts, sign-up link, affiliate contact, promo codes), promotion rules, an allow list for private kits, and brand voice notes.

  • update_kit · Edit a kit

    Changes a kit's settings. Send the kitId and only the fields to change. Changing access to public opens the kit to anyone with the link once it is live.

  • set_kit_status · Publish or unpublish a kit

    Publishes a kit ("live") so affiliates can open its link, or takes it down ("draft"). Confirm with the person before publishing.

  • add_asset · Add an asset

    Adds an asset to a kit. Pick a kind and fill its fields in "data" (see the asset kinds). Banners, logos and files need fileUrl: a public https link the server downloads once (PNG, JPEG, WebP, GIF or SVG for images; PDF or ZIP for files). Use {{link}}, {{coupon}} and {{name}} in text where each affiliate’s own details belong.

  • update_asset · Edit an asset

    Changes an asset: a new title, some of its fields (the rest stay), or a replacement file via fileUrl.

  • delete_asset · Delete an asset

    Deletes an asset and its file from a kit. This cannot be undone; confirm with the person first.

  • get_kit_usage · Kit usage

    Views, copies and downloads of a kit over the last 30 days, per asset, and for private kits the most active affiliates.

  • list_access_requests · Access requests

    Lists who asked to open a private kit, with status: unverified (email not confirmed yet), pending (waiting for the brand), approved or revoked.

  • decide_access_request · Approve or revoke access

    Approves someone who confirmed their email (they are emailed a link to the kit), or revokes their access. Confirm with the person before deciding.

REST API

JSON over HTTPS. Answers are { "data": … } or { "error": { "code", "message" } }. 120 requests a minute per key.

GET/api/v1The brand behind the key, its kits and the upload limits
GET/api/v1/kindsAsset kinds and the fields each takes (no key needed)
GET/api/v1/kitsYour kits
POST/api/v1/kitsCreate a kit (a draft)
GET/api/v1/kits/:idA kit with every asset
PATCH/api/v1/kits/:idChange only the fields sent
POST/api/v1/kits/:id/statusPublish ("live") or unpublish ("draft")
POST/api/v1/kits/:id/assetsAdd an asset: JSON with fileUrl, or multipart with a file
PATCH/api/v1/kits/:id/assets/:assetChange an asset (fields not sent stay)
DELETE/api/v1/kits/:id/assets/:assetDelete an asset and its file
GET/api/v1/kits/:id/usageViews, copies and downloads over 30 days
GET/api/v1/kits/:id/requestsWho asked to open a private kit
POST/api/v1/kits/:id/requests/:requestApprove or revoke ({"decision": "approve" | "revoke"})
curl https://affilikit.com/api/v1/kits \
  -H "Authorization: Bearer awk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Spring affiliate kit", "access": "public",
       "facts": {"commission": "30% recurring", "cookie": "60 days"}}'
curl https://affilikit.com/api/v1/kits/KIT_ID/assets \
  -H "Authorization: Bearer awk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind": "email", "title": "Launch email",
       "data": {"subjects": ["Meet our new plan"], "body": "Hi! ... {{link}}"}}'
curl https://affilikit.com/api/v1/kits/KIT_ID/assets \
  -H "Authorization: Bearer awk_YOUR_KEY" \
  -F kind=banner -F title="Leaderboard" -F file=@banner-728x90.png

Asset kinds

Put each kind's fields in data. In any text, {{link}}, {{coupon}} and {{name}} are filled in with each affiliate's own details on the kit page.

Banner banner

Display ads in standard sizes. The size is read from the image.

File: required image (PNG, JPEG, WebP, GIF or SVG)

  • alt string
  • note string

Logo logo

Logos and marks, with a note on which background each is for.

File: required image (PNG, JPEG, WebP, GIF or SVG)

  • note string

Email email

Swipe emails affiliates send to their own list.

File: none

  • subjects * array of strings
  • preview string
  • body * string

Social post social

Ready-to-post copy for each network, with an optional image.

File: optional image

  • network * one of the options: x, linkedin, instagram, facebook, tiktok, threads, youtube, pinterest
  • text * string

Text ad text_ad

A headline and a line or two, for newsletters, link pages and search ads.

File: none

  • headline * string
  • description * string
  • displayUrl string

Video script script

Scripts for YouTube, TikTok, Reels and podcasts, with the hook up front.

File: none

  • platform * one of the options: youtube, shorts, tiktok, reels, podcast, other
  • length string
  • hook string
  • script * string

Article article

A review or blog post template.

File: none

  • body * markdown string

Talking points talking_points

Key facts, approved claims and answers to common questions.

File: none

  • points * array of strings

File file

A PDF or ZIP: media kit, product sheet, brand guide.

File: required file (PDF or ZIP)

  • note string