Hotmart API: what you can do and how to use it with AI agents
Hotmart is a Brazilian platform for selling digital products. Its API gives access to a producer's sales history, subscriptions, members-area students and coupons. Course creators, education companies and integrators who connect Hotmart to a CRM and support use it. Access uses credentials generated in the producer's account, and webhooks report purchase events.
What the Hotmart API offers
Sales
Transaction history, commissions, participants and the details of each purchase.
Subscriptions
Subscribers, status, charges and cancellations for recurring products.
Members area
Students, progress and modules of the course hosted on Hotmart.
Coupons
Create and look up discount coupons per product.
Webhooks
Notices of approved purchase, boleto generated, refund, cancellation and other events. A boleto is a Brazilian bank payment slip.
Products
Look up the account's products and offers.
How to access the Hotmart API
- With your company’s credentialsCredentials (client ID, client secret and basic token) generated in the developer tools area of the Hotmart account, exchanged for an access token.
- Buyers are personal data: use it only for support and consented communication (LGPD, Brazil's data-protection law).
- The API has request limits: prefer webhooks for real-time events.
- Validate webhook signatures so you do not process fake notices.
Official documentation: developers.hotmart.com
What an iTeam agent does with the Hotmart API
Boleto generated and not paid
The boleto webhook alerts the agent, which reminds the buyer on WhatsApp before the due date and resends the link when asked.
Subscriber with a declined charge
The agent identifies subscriptions with late payment and walks the customer through updating the card, so the team does not chase each case.
Student stuck in the course
Using progress from the members area, the agent finds students who never got past the first module and sends a message to bring them back.
Refund request
Before refunding, the agent confirms the purchase, the guarantee period and the reason, and hands over the case ready for approval.
From the credential to the agent at work, with approval
Generate the credentials in Hotmart
In the producer account, create the API credentials and set up webhooks for the events you care about.
Register it in the iTeam vault
Credentials and the webhook secret stay in the vault. The support agent sees sales and students but does not change products.
Test with approval
Messages to buyers start reviewed, and refunds always go through human approval.
Ready-made AI teams for this work
WhatsApp customer service
Customers write at 11 p.m. and on Sundays. This team replies in seconds, with your prices and policies, and calls a person when it should.
Help desk support team
It reads each ticket, finds the answer in your docs and past replies, and drafts a response your agents can send or improve.
AI phone receptionist
It answers the phone, books the visit in your calendar and sends your team a short note about every call.
Online store support team
It looks up the real order in Shopify or WooCommerce and answers tracking, return and exchange questions in seconds.
Customer success team
It reads usage, tickets and CRM notes every week and tells your team which accounts need a call, and why.
Customer feedback analysis
It reads every comment, finds the themes behind the scores and tells each area what customers are asking it to fix.
Questions about the Hotmart API
Is the Hotmart API free?
Generally yes: producers access the API at no extra charge, while Hotmart charges fees on sales.
Do I need to code to use the Hotmart API with iTeam?
Not necessarily. iTeam's HTTP tool reads the Hotmart documentation and the deployment team sets up the flows.
Can I receive sales in real time?
Yes, through webhooks, which report an approved purchase, a refund and other events as soon as they happen.