Getting API Access
Follow the steps below to receive the credentials you need when making API calls.Access the Visma Developer Portal
Log in to the appropriate environment:
- Stage environment (for testing): https://oauth.developers.stagaws.visma.com
- Production environment (for end-users): https://oauth.developers.visma.com
Create a new application
Go to “My Applications” and click “Add Application” > “Service
(Machine-to-Machine)”.
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.Configure the integration
Select the API and scope for your integration:
- Stage environment: Select
automatic-rostering-stagefor both API and scope. - Production environment: Select
automatic-rostering-prodfor both API and scope.
Wait for approval
Wait for the integration to be accepted. Feel free to contact the Automatic
Rostering team to expedite the process.
Retrieving and Using JWT Tokens
Once you have yourclient_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 aPOST request to the Visma Connect token endpoint:
Stage Environment
Stage Environment
Endpoint:
https://connect.identity.stagaws.visma.com/connect/tokenRequest:Production Environment
Production Environment
Endpoint:
https://connect.visma.com/connect/tokenRequest:Use the Token in API Requests
Include the access token in theAuthorization 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.
