Making calls with GraphQL API

How to authenticate to the API

To start with the Operous GraphQL API, first, go to your account settings and create an access token, then make a POST request to the API endpoint with the Authorization header like the following example:

curl -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Token <Account access token>' \
-d '{"query":"mutation{  checkToken }"}' \
'https://app.operous.dev/graphql'

Response:

{
  "data":  {
    "checkToken": "Token is valid!"
  }
}