Skip to main content

GraphQL API Overview

The Scompler GraphQL API gives you full programmatic access to your workspace — content, assets, members, workflows, and more. All operations are exposed as GraphQL queries and mutations.

Environments

EnvironmentEndpointExplorer
PROhttps://public-api.pro.scompler.com/graphqlhttps://public-api.pro.scompler.com
APPhttps://public-api.app.scompler.com/graphqlhttps://public-api.app.scompler.com
tip

Check your login URL — pro.scompler.com or app.scompler.com — to know which environment to use.

Authentication

All requests require a Bearer token:

Authorization: Bearer <your-token>

See API Tokens to generate a token.

In this section

  • Operations — All available queries and mutations
  • Types — Object types, enums, inputs, scalars, and unions

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 } } }"}'

Request format

{
"query": "query { ... }",
"variables": { "key": "value" },
"operationName": "OptionalName"
}
info

HTTP status is always 200. Check the errors array in the response body to detect failures.