Skip to main content

API Endpoint

The GraphQL API is accessible via: Endpoint URL: https://api.dema.ai/graphql

Request Format

All requests should be sent as POST requests to this endpoint with your GraphQL queries in the request body.

Request Headers

Include the following headers in your requests:
  • Content-Type: application/json
  • Authorization: Bearer YOUR_API_TOKEN (see Authentication for details)

Request Body

The request body should contain a JSON object with your GraphQL query:
{
  "query": "query YourQuery { ... }",
  "variables": {
    // optional variables
  }
}
All GraphQL queries are sent to the same endpoint. The query itself determines what data is returned.