GraphQL API integration
Step-by-step guide to integrate a web application with Business NXT GraphQL API and initiate the OAuth flow for creating tokens
After the approval of the registration of your web application, you can add integrations to Visma APIs. To integrate with Business NXT GraphQL API do the following:
- Select your application from the My Applications main tab and go to Integrations.
- Press the New integration button.
- Search and select the Business NXT Graphql API in the combo with available APIs and press Continue. If you plan to use the client credentials grant type, then you need search for Business NXT GraphQL API in the combo with available APIs and press Continue.
- Select the
business-graphql-api:access-group-based
scope (orbusiness-graphql-service-api:access-group-based
if you seleced Business NXT Graphql Service API in the previous step) and press Continue. - Review the selection and confirm the integration by pressing the Confirm Integration button.
- Wait for the integration to be approved by Visma. Once approved, the integrations become active.
Once your application is integrated with Business NXT Graphql API, you can initiate the OAuth flow and create tokens.
The minimum required claims for a valid OAuth 2.0 JWT token are:
Default OAuth 2.0 Claim required:
sub
Scope Claims required:
email
openid
business-graphql-api:access-group-based
Company access is determined by the corresponding user for whom the OAuth JWT token was created. The rights for the user are managed in Visma.net.