Suger

Suger API Reference

CRUD operations on a set of resources, including organizations, products, offers, entitlements, usage record groups for meterting, etc.

Base URL: https://api.suger.cloud. Most endpoints are scoped to an organization under /org/{orgId}/…, and request and response bodies are JSON (application/json). API version 1.0.

Authentication

The API uses the OAuth 2.0 client-credentials flow. Create an OAuth App to get a client ID and secret, exchange them for a short-lived (1 hour) bearer token, then send it on every request as Authorization: Bearer <token>.

curl -X POST 'https://apiv2.suger.cloud/oauth2/token' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=client_credentials' \
  --data-urlencode 'client_id=YOUR_CLIENT_ID' \
  --data-urlencode 'client_secret=YOUR_CLIENT_SECRET' \
  --data-urlencode 'resource=https://api.suger.cloud'

See API Access for the full token exchange, caching, rotation, and permissions.

Conventions

Endpoint groups

Endpoints are organized into the following groups:

Using the reference

Explore every endpoint in the interactive reference below. Each operation also has a static page at /api/<operation>/ and a Markdown version at /api/<operation>.md for agents and LLMs.