Skip to main content

Getting API Access

Follow the steps below to receive the credentials you need when making API calls.
1

Access the Visma Developer Portal

Log in to the appropriate environment in the Visma Developer Portal:
2

Create a new application

Go to “My Applications” and click “Add Application” > “Service (Machine-to-Machine)”.
3

Configure and publish your application

Fill in the required details and save your application. Make sure to note your client_id, then publish the application to make it available for integration.
4

Add a new integration

Open your application, add a new integration, and search for Automatic Rostering.
5

Configure the integration

Select the Automatic Rostering API and the automatic-rostering:full scope for your integration.
6

Wait for approval

Wait for the integration to be accepted. Feel free to contact the Automatic Rostering team to expedite the process.
7

Generate and store credentials

Open your application, generate credentials, and securely store the client_secret.

Retrieving and Using JWT Tokens

Once you have your client_id and client_secret, you can retrieve a JWT access token to authenticate your API requests.

Retrieve an Access Token

To retrieve an access token, make a POST request to the Visma Connect token endpoint:
Endpoint: https://connect.identity.stagaws.visma.com/connect/tokenRequest:
Endpoint: https://connect.visma.com/connect/tokenRequest:
Response:

Use the Token in API Requests

Include the access token in the Authorization header of all requests to the Automatic Rostering API:
The access token expires after a certain period (typically 3600 seconds). You’ll need to retrieve a new token when it expires. Make sure to implement token refresh logic in your application.