API Reference Overview
The Scompler API is a GraphQL API that gives you full programmatic access to workspace resources — content, assets, members, workflows, and more.
Environments
Scompler runs two independent environments. Use the one that matches your workspace login URL.
| Environment | Endpoint | Explorer |
|---|---|---|
| PRO | https://public-api.pro.scompler.com/graphql | https://public-api.pro.scompler.com |
| APP | https://public-api.app.scompler.com/graphql | https://public-api.app.scompler.com |
tip
Check your login URL — pro.scompler.com or app.scompler.com — to know which environment to use.
Authentication
Every request must include a Bearer token:
Authorization: Bearer <your-token>
In this section
- API Tokens — How to generate tokens and manage access
- Rate Limits — Request quotas per token and window
- Error Handling — Error codes, response format, and how to handle failures
Quick example
curl -X POST https://public-api.pro.scompler.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <your-token>" \
-d '{"query": "{ languages(first: 10) { nodes { id name } } }"}'