Skip to main content
If you’re used to REST APIs, GraphQL has a few key differences worth knowing before you start. This page covers the essentials so you can make your first request quickly.

One endpoint, one method

Unlike REST, which uses many endpoints (GET /users, POST /dashboards, etc.), GraphQL uses a single endpoint for all operations:
Every request is a POST with a JSON body containing two fields:

HTTP 200 does not mean success

This is the most important difference from REST. GraphQL can return HTTP 200, even when the operation fails. Do not check the HTTP status code to determine success, always inspect the response body. Errors appear in an errors array:
For mutations, also check the status.code field in the response data:
See Error handling for details.

Postman setup

To call the WisdomAI GraphQL API from Postman:
  1. Set method to POST
  2. URL: https://{ACCOUNT}.askwisdom.ai/graphql
  3. Headers:
    • Content-Type: application/json
    • Authorization: Bearer <your_token>
  4. Body → rawJSON:

Common mistakes

GraphQL API overview

Endpoint, authentication, and error handling

User management

Create, update, and manage users via API

Queries

Available read operations

Mutations

Available write operations