Status: shown live on Integrations. This guide is generated from Saemol's connector code and the official Hotmart documentation it was built from, so it always describes what Saemol actually does.
What you need
- Client ID — Hotmart › Tools › Developer Credentials › Create Credential.
- Client secret — Shown with the credential.
- Basic token — The Basic token shown with the credential.
Steps
- In Hotmart, create the credential described above. Where Hotmart lets you choose permissions, give it read access only.
- In Saemol, open Connections → Add connection → Hotmart, choose Live or Test to match the credential, and paste it.
- Saemol checks it with one read request. If Hotmart accepts it, the first sync starts; if not, Saemol shows why and stores nothing.
What Saemol reads
| Request |
|---|
POST /security/oauth/token |
GET /payments/api/v1/sales/history |
These are the only requests Saemol's code can send to Hotmart. Any other request — including anything that could move money, refund or cancel — is blocked before it leaves Saemol.
History and limits
- The first sync reads up to 730 days back, in windows of 31 days, or your plan's history limit if it is shorter (Free 12 months, Pro 3 years, Business everything the platform provides).
- After that, recent records are re-read every hour (daily on the Free plan), because platforms revise recent refunds and fees.
Access from sales (SDK)
Hotmart reports both the customer and the item of each sale, so these sales can grant access to your product through entitlement rules — including license keys for desktop apps and games (see License keys and access for your app).
Link your app user with customers.link({ provider: 'hotmart', externalCustomerId }), or use license keys.
Good to know
- The credential this platform issues is not limited to reading. Create a separate one for Saemol so you can revoke it on its own.
Official Hotmart documentation
This guide is kept with Saemol’s code and changes when the connector does.