Skip to main content

Using our GraphQL API

The documents in this section have been automatically generated from the GraphQL schema on 6/25/2024, 3:33:32 PM MST.

URL

EnvironmentURL
Sandboxhttps://api.sandbox.nav.com/partners/graphql
Productionhttps://api.nav.com/partners/graphql

Required Headers

All GraphQL requests are required to provide the following headers:

HeaderValue
x-api-keyYour API Key, provided by NAV
x-partner-idYour Partner ID, provided by NAV
Content-Typeapplication/json

Variables

We recommend passing query and mutation parameters as variables and not inline:

  query MyQuery {
account(userID: "abc") {
....
}
}
  query MyQuery($userID: String) {
account(userID: $userID) {
....
}
}

variables:

{
"userID": "abc"
}