Welcome to Quantum Works API

The Developer Hub fully documents the Quantum Works API and is organized into reference and conceptual documentation, accessed through the API reference link in the header

Tenant and environment

Every request to the Quantum Works Public API must include the X-Tenant header.

Your tenant identifier is the subdomain of your Quantum Works URL.
Example: if your URL is acme.myquantumworks.com, your tenant identifier is acme.

The API environment is resolved by middleware from the API hostname:

  • api.myquantumworks.com → Prod
  • api.uat.myquantumworks.com → Uat

If you plan to use UAT for API testing, call the UAT hostname for all requests.

Authentication quick start

  1. Call POST /public/v1/auth/token with:
    1. X-Tenant: acme
    2. JSON body:
      1. username
      2. password
      3. ClientId (Generated in Quantum Works)
      4. ClientSecret (Generated in Quantum Works)
  2. Receive accessToken.
  3. Send that token on subsequent requests:
    1. Authorization: Bearer eyJhbGciOiJIUzI1NiI .....

Tokens are short-lived and there is no refresh token endpoint. Request a new token when expired.

Example token request

POST https://api.myquantumworks.com/public/v1/auth/token
X-Tenant: acme
Content-Type: application/json

{
  "username": "your-username",
  "password": "your-password",
  "ClientId": "your-client-id",
  "ClientSecret": "your-client-secret"
}

Did this page help you?