Connector guide9-minute read23 MCP tools7 languages

Connect Hotmart to Microsoft Copilot via MCP

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

HCBy HelpCode teamUpdated 9 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Hotmart

Hotmart

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

tools

23

Region

INTL

Category

E-commerce

Authentication

OAuth 2.0

Required env vars

HOTMART_CLIENT_IDHOTMART_CLIENT_SECRETHOTMART_API_URL
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Guided setup

Connect Hotmart to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Hotmart in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Hotmart

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Hotmart · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Hotmart, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Hotmart + Microsoft Copilot

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

HOTMART_CLIENT_ID, HOTMART_CLIENT_SECRET, HOTMART_API_URL

Step 1 — Get credentials

Setting up takes about 3 minutes.

  1. Sign in to Hotmart and open Tools, Developer Credentials (Ferramentas, Credenciais de desenvolvedor).
  2. Click Create Credential and name it. Leave the sandbox box empty for real data; tick it only for a test credential, which cannot be changed to production later.
  3. Copy the Client ID into HOTMART_CLIENT_ID and the Client Secret into HOTMART_CLIENT_SECRET. The third value Hotmart shows, Basic, is just the two combined and is not needed.
  4. Choose Production as environment, or Sandbox for a sandbox credential (fictional data).

The connector exchanges the credential at https://api-sec-vlc.hotmart.com/security/oauth/token for a token that lasts about 48 hours and renews it by itself.

Where to start: hotmart_list_products gives the product ids; hotmart_get_sales_summary totals a period; hotmart_list_sales lists the sales behind it. hotmart_get_user shows whose account this is.

Sales: hotmart_list_sales, hotmart_get_sales_summary, hotmart_list_sales_participants (buyer contact, affiliate), hotmart_list_sales_commissions and hotmart_list_sales_price_details share their filters. Two pitfalls: without transaction_status (or a transaction) only APPROVED and COMPLETE sales are returned, so refunds and chargebacks must be asked for by status; and dates are Unix timestamps in milliseconds, both in filters and in answers. hotmart_refund_sale is installed switched off.

Subscriptions: hotmart_list_subscriptions (filter by one or more statuses; DELAYED and OVERDUE are the late payers), hotmart_get_subscriptions_summary, hotmart_list_subscription_purchases (every charge of one subscriber code) and hotmart_list_subscription_transactions. hotmart_cancel_subscription and hotmart_reactivate_subscription are installed switched off; the reactivation never triggers an immediate charge.

Products: hotmart_list_products, hotmart_list_product_offers, hotmart_list_product_plans and hotmart_list_coupons. A product has a 7-digit id (used by sales, subscriptions and coupons) and a ucode UUID (used by offers and plans).

Members Area (Club): hotmart_list_club_students, hotmart_list_club_modules, hotmart_list_club_pages and hotmart_get_club_student_progress. The Club tools take the subdomain of the Members Area, the pages tool the product id.

Events: hotmart_get_event_info and hotmart_list_event_participants for products sold as tickets.

Paging: lists return items and page_info with next_page_token, prev_page_token, results_per_page and sometimes total_results. Pass next_page_token as page_token until it is no longer returned.

Reading answers: amounts are numbers with their own currency_code (a seller can be paid in several currencies: never add values across currencies). Some endpoints answer 200 with an empty body when there is nothing to return, which can also mean the credential cannot see that product or Club. Errors are JSON with error and error_description: invalid_token or unauthorized_client for the credential, invalid_parameter for a filter Hotmart does not accept.

Limits: 500 calls per minute; a 429 carries the RateLimit-Reset header. The connector creates no coupons, payment links or products.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the Hotmart tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
hotmart_get_userRead the Hotmart account the credential belongs to: id, name, email and address. A quick check that the credential works. Not available on…
hotmart_list_productsList the products of the account: id (7 digits), name, ucode (UUID, needed for offers and plans), status, format (ONLINE_COURSE, EBOOK…
hotmart_list_product_offersList the offers of one product: code, name, description, price (value and currency_code), payment_mode and whether it is the main offer.…
hotmart_list_product_plansList the subscription plans of one product: code, name, description, value, periodicity (WEEKLY, MONTHLY, BIMONTHLY, QUARTERLY, BIANNUAL…
hotmart_list_couponsList the discount coupons of one product: id, coupon_code, discount, status, active, start_date in milliseconds and time_zone. An empty…
hotmart_list_salesList sales (sales history): per sale the product (id, name), buyer (name, email, ucode), producer, and under purchase the transaction…
hotmart_get_sales_summaryTotal the sales of a period: total_items (number of sales) and total_value per currency (currency_code and value). Same filters as the…
hotmart_list_sales_participantsList who took part in each sale: per transaction the product and users with their role (PRODUCER, BUYER, COPRODUCER, AFFILIATE) and…
hotmart_list_sales_commissionsList the commissions of each sale: per transaction the product, the exchange rate to the payout currency and commissions with each…
hotmart_list_sales_price_detailsBreak down the price of each sale: per transaction the product, the base amount commissions are split from, the total the buyer paid, vat…
hotmart_refund_saleRefund a sale to the buyer. This returns the money, ends the access the purchase gave and cannot be undone; Hotmart only accepts it inside…
hotmart_list_subscriptionsList subscriptions: subscriber_code, subscription_id, status, accession_date, end_accession_date, request_date, date_next_charge (all in…
hotmart_get_subscriptions_summarySummarise subscriptions: per subscription the subscriber_code, subscription_id, status, lifetime (how many charges were paid)…
hotmart_list_subscription_purchasesList every charge of one subscription: transaction code, approved_date, payment_engine, status, price (value, currency_code), payment_type…
hotmart_list_subscription_transactionsList the transactions of subscriptions and smart instalments in a period: subscription_id, subscriber_code, status, billing_type…
hotmart_cancel_subscriptionCancel one subscription: no further charges are made and the subscriber keeps access until the paid period ends. Returns the subscription…
hotmart_reactivate_subscriptionReactivate a cancelled or inactive subscription without charging the subscriber now: the billing date stays as it was and the next charge…
hotmart_list_club_studentsList the students of a Members Area (Club): user_id, name, email, role (STUDENT, FREE_STUDENT, OWNER, ADMIN, CONTENT_EDITOR, MODERATOR)…
hotmart_list_club_modulesList the modules of a Members Area (Club): module_id, name, sequence, is_public (free module), is_extra, total_pages and the classes it…
hotmart_list_club_pagesList the pages (lessons) of one module of a Members Area: page_id, name, page_order, type (CONTENT, ADVERTISEMENT, QUIZ, WEBINAR)…
hotmart_get_club_student_progressRead the lesson progress of one student in a Members Area: lessons with page_id, page_name, module_name, is_module_extra, is_completed…
hotmart_get_event_infoRead an event sold as tickets: the product (id, name), start_event_date and end_event_date in milliseconds, and lots (ticket batches or…
hotmart_list_event_participantsList the tickets and participants of an event: per ticket the buyer (name, email), the participant (name, email, document, phone), the…

Example prompts

  • "What were my Hotmart sales totals last month, per currency?"
  • "List the refunded and chargeback sales of my course this quarter."
  • "Which subscribers are DELAYED or OVERDUE right now?"
  • "Show the commissions of the last 20 sales: how much went to affiliates and co-producers?"
  • "How far are the students of my Members Area through module 3?"

FAQ

Where do the credentials come from? In Hotmart, Tools, Developer Credentials (Ferramentas, Credenciais de desenvolvedor): create a credential and copy its Client ID and Client Secret; the Basic value is not needed. Choose Production, or Sandbox only for a credential created with the sandbox box ticked, which returns fictional data.

What does it cover? Sales with buyers and participants, commissions and price breakdowns, sales totals, subscriptions with their charges and transactions, products with offers, plans and coupons, Members Area (Club) students, modules, pages and progress, and event tickets. It creates no coupons, payment links or products. Without a status filter only approved and complete sales are returned, so ask for refunds and chargebacks by status.

Which tools install switched off? hotmart_refund_sale, hotmart_cancel_subscription and hotmart_reactivate_subscription. Switch them on on the connector page only if the AI should use them.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect Hotmart to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Hotmart in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

Connect Hotmart to ChatGPT via MCP: Sales and Buyers

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Connectors

Connect Hotmart to Claude via MCP: Sales and Products

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Connectors

Connect Hotmart to Cursor via MCP: Sales and Products

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Connectors

Connect Hotmart to Gemini CLI via MCP: Sales and Plans

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Connectors

Connect Hotmart to Meta Muse via MCP: Sales and Offers

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.

Connectors

Hotmart MCP Server: Sales, Subscriptions and Products

Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.