Documentation Index
Fetch the complete documentation index at: https://docs.cativa.digital/llms.txt
Use this file to discover all available pages before exploring further.
The model
Real-world use cases
External purchase grants access
User buys on Hotmart -> webhook -> your API receives it -> you assign the
Premium badge to the user -> user can enter the VIP group immediately.Cancelled subscription revokes access
Cancellation on Stripe -> webhook -> you remove the
Premium badge -> course access is gone instantly.How to assign and remove badges via API
The public endpoint for assigning/removing badges via API Key is coming soon in this documentation. Until then, assignment and removal can be done in the tenant admin panel or coordinated with the Cativa team at dev@cativa.digital.
Idempotency
Assigning the same badge twice is idempotent — the final state is the same. Same behavior for removing a badge that doesn’t exist. This simplifies retries in jobs and webhook handlers.Difference from Roles
| Concept | What it is | Example |
|---|---|---|
| Badge | Credential assigned to the user that opens access to resources | Premium, Mentor, Student-2026 |
| Role | Functional permission within a specific resource | GroupAdmin, Moderator on Group X |
