Skip to main content
Each operation on this page works two ways. It is a route on https://api.agentcdn.com/v1, and it is a tool on the account MCP at https://mcp.agentcdn.com/account/mcp. Same name, same inputs, same result.

Before you call

  • Auth. Send an API key as Authorization: Bearer <key>. Reads need the account:read scope. Changes also need account:write. See API keys. On the account MCP you can sign in instead (connect your account). An app that can only read sees only the read tools.
  • Changes run in two calls. The first call changes nothing. It returns a preview and a confirm_token. Send the same request again with confirm_token to run it. See changes run in two calls. A few safe, repeatable changes run in one call with no preview. The tables mark them.
  • Rate limits. The API takes up to 120 calls a minute per account. Changes are capped at 20 a minute per account, across the API and the MCP together. Calls that reach an outside address (a website check, a range link, a Kajabi check) are capped at 10 a minute. Over a limit you get 429 with a retry-after header.
  • Errors come back as { "error": "<code>", "message": "<what to do>" }.
  • Full schemas. The live OpenAPI document is at https://api.agentcdn.com/v1/openapi.json. It lists every input of every route.
In paths, {video_id} and the like are path parameters. A GET takes its other inputs as query parameters. Every other method takes them as a JSON body. Kind in the tables:
No tool on this page charges you. Some use your monthly allowance: start_import, manage_source and prepare_membership_lesson_uploads use the import allowance, and ask_library counts toward the monthly answer allowance. The preview shows what a change would use, and refuses what the allowance cannot take. get_account shows what is left this month.

Account and profile

Videos

get_range_link is the only tool that returns a media link. Search and answers never do. Share a range link only with people who may see that video.

Answers and memory

Questions and reports

Date ranges are YYYY-MM-DD. The default is the last 30 days.

AI access and answers

Discovery

Imports and sources

A YouTube channel connects with a Google sign-in in the browser. list_sources gives the address to open.

Brand catalog

Website

DNS and certificates can take minutes to hours. Run check_website again later if it says not yet. Get site_id from get_profile.

Members and member libraries

Member libraries need setup on your account. Ask us to set them up. See Paid and member libraries.

Kajabi membership

These tools connect your Kajabi site so the people who buy your offers become members. In every path, {platform} is kajabi. Members also sync every hour on their own. Kajabi does not share lesson videos, so you upload each one once: list_membership_lessons, then prepare_membership_lesson_uploads, then PUT each file, then complete_membership_lesson_uploads.

Keys, connected apps and webhooks

AI Video Visibility

AI Video Visibility shows how often AI apps such as ChatGPT and Perplexity name or cite your brand and videos. These tools are free.