---
title: "Insomnia"
description: "Guide to setting up OAuth2 Client Credentials in Insomnia for authenticating your service."
lang: en
languages:
  en: https://docs.vismasoftware.no/businessnxtapi/authentication/service/examples/insomnia/index.md
lastmod: 2026-07-10
---

> Documentation index: https://docs.vismasoftware.no/businessnxtapi/authentication/service/examples/llms.txt


# Insomnia

Last modified July 10, 2026

> Guide to setting up OAuth2 Client Credentials in Insomnia for authenticating your service.


In Insomnia, you can set the authorization method and details per request. To authenticate your service, perform the following setup:

1. Choose the **OAuth2** authorization type.

2. Select the **Client Credentials** grant type.

3. Use the following access token URL: <https://connect.visma.com/connect/token>.

4. Fill in the client ID and the client secret.

5. Enter the scope `business-graphql-service-api:access-group-based`.

6. Select **As Basic Auth Header** option for *Credentials* combo.

These settings are shown in the following image:

![Configure Insomnia](https://docs.vismasoftware.no/businessnxtapi/authentication/service/examples/insomnia8.png)

> [!TIP]
>
> You can read more about authentication in the [Insomnia docs](https://docs.insomnia.rest/insomnia/authentication).


---

[View this page](https://docs.vismasoftware.no/businessnxtapi/authentication/service/examples/insomnia/)
