Give customers access to your product, connect their purchases and keep up with subscription changes.
import { Guiru } from "@guiru/sdk";
const guiru = new Guiru({
apiKey: process.env.GUIRU_API_KEY!
});
const active = await guiru.entitlements
.isActive({ userId });npm install @guiru/sdk and the parts that are easy to get wrong — webhook signatures, retries, PKCE, telling consent-withdrawn from a bad request — are already right. Six endpoints underneath, so plain HTTP stays a first-class way to call them from any language.
Start with a working integration, then explore the API by task.
The same docs, as one plain-text file.
Most integrations are now written by a person and an agent together, and the agent is usually reading a copy of an API reference pasted into a prompt. So the whole documentation is served at /developers/docs/llms.txt, generated from the same source these pages render — the page and the text cannot disagree. What to tell your agent →
Rate limits answer 429 with retry-after. Credentials are shown once and stored hashed. Errors and budgets → · Developer terms →
Wire it once. It answers for every product you ever list.