> ## Documentation Index
> Fetch the complete documentation index at: https://docs.novig.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EMM Authentication Migration

> Migrate to the new token endpoint by February 15, 2026

<Tip>
  You can migrate immediately - the new endpoint is available now.
</Tip>

## 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)

```bash theme={null}
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)

```bash theme={null}
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:

```json theme={null}
{
  "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:

```bash theme={null}
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:

```bash theme={null}
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 [developers@novig.co](mailto:developers@novig.co).
