Appearance
API URLs
Viskan APIs are available through different base URLs depending on environment. To access these APIs, combine the base URL + endpoint, for example to find stock balances, construct the URL like this: https://api.v2.viskan.com + /warehouse-management/stock-balance/stock-balances.
Note: Use HTTPS for all of your interactions with Viskan APIs.
Base URLs
Use one of the base URLs below to access the Viskan APIs.
| Environment | Base URL |
|---|---|
| Production | https://api.v2.viskan.com |
| Staging | https://api.staging-v2.viskan.com |
Authorization
Viskan issues its own access tokens. The token endpoint lives under the API base URL, and OAuth libraries can configure themselves from the OpenID discovery document at the root. See Authentication.
| Environment | Token endpoint | OpenID discovery |
|---|---|---|
| Production | https://api.v2.viskan.com/auth/oauth2/token | https://api.v2.viskan.com/.well-known/openid-configuration |
| Staging | https://api.staging-v2.viskan.com/auth/oauth2/token | https://api.staging-v2.viskan.com/.well-known/openid-configuration |
Visma Developer Portal (Legacy)
Visma Connect is being phased out; the base URLs below apply only to existing Visma Connect integrations. See Legacy: Visma Connect.
| Environment | Developer portal | Authorization base URL |
|---|---|---|
| Production | https://oauth.developers.visma.com | https://connect.visma.com |
| Staging | https://oauth.developers.stagaws.visma.com | https://connect.identity.stagaws.visma.com |
HTTP versions
The API endpoints supports the HTTP/1.1 and HTTP/2 protocol.