Skip to main content
The NBX API uses OAuth 2.0 Client Credentials with JSON Web Tokens (JWT).
Access tokens expire 30 minutes after issuance. Request a new token when your current one expires.

1. Obtain Credentials

Request your client ID and secret from Novig.

2. Request an Access Token

Send a POST request to the OAuth endpoint:
curl \
  --request POST \
  --url https://auth.novig.us/oauth/token \
  --header "Content-Type: application/json" \
  --data '{
    "audience"      : "https://api.novig.us",
    "grant_type"    : "client_credentials",
    "client_id"     : "YOUR_CLIENT_ID",
    "client_secret" : "YOUR_CLIENT_SECRET"
  }'

3. Use the Token

Include the token in your requests by setting the HTTP header:
Authorization: Bearer YOUR_ACCESS_TOKEN
For integration in the QA environment, use different endpoints:
SettingQA Value
Issuerhttps://auth-qa.novig.us
Audiencehttps://api-qa.novig.us
API Base URLhttps://api-qa.novig.us