Base URL
All GraphQL queries should be sent to the root endpoint:
POST https://cumtxmqb68.execute-api.us-west-2.amazonaws.com/staging/v1.0.0/graphql
Authentication
All requests require authentication using an API key included in the request headers:
x-api-key: YOUR_API_KEY
An API key for the GraphQL endpoint will be securely shared with you separately.
Making your first request
Here are simple examples to get you started.
We recommend using the gql library for better GraphQL support, schema validation, and error handling.
curl -X POST \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{"query":"{ courses(limit: 5) { identifier name academicSubject } }"}' \
https://cumtxmqb68.execute-api.us-west-2.amazonaws.com/staging/v1.0.0/graphql
These examples will return up to 5 courses, along with their identifiers, names, and academic subjects.