Skip to main content
You can migrate immediately - the new endpoint is available now.

What’s Changing?

We’re introducing a new token vending endpoint with improved performance and reliability for EMM clients.

Migration Steps

You only need to update two things:
  1. Change the endpoint URL
  2. Remove “audience” from the Body
New Endpoint URL: https://api.novig.us/nbx/v1/auth/emm-token

Before (Deprecated)

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"
  }'

After (New Method)

curl --request POST \
  --url https://api.novig.us/nbx/v1/auth/emm-token \
  --header "Content-Type: application/json" \
  --data '{
    "grant_type": "client_credentials",
    "client_id": "YOUR_CLIENT_ID",
    "client_secret": "YOUR_CLIENT_SECRET"
  }'

Response Format

The response format remains the same:
{
  "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "scope": "execute:trader read:trader read:tape",
  "expires_in": 86400
  "token_type": "Bearer",
}

Using the Access Token

No change here - continue using the token exactly as before:
curl --request GET \
  --url https://api.novig.us/emm/v2/account/balance \
  --header "Authorization: Bearer YOUR_ACCESS_TOKEN"

QA Environment

For testing in the QA environment:
curl --request POST \
  --url https://api-qa.novig.us/nbx/v1/auth/emm-token \
  --header "Content-Type: application/json" \
  --data '{
    "grant_type": "client_credentials",
    "client_id": "YOUR_CLIENT_ID",
    "client_secret": "YOUR_CLIENT_SECRET"
  }'

Need Help?

If you have questions or need assistance with the migration, please reach out to [email protected].