Overview
Welcome to the Capway Developer Portal. Choose an API resource or callback from the menu to read its call and field documentation.
Environments
| Environment | API base URL | Token URL |
|---|---|---|
| Test | https://apitest.capway.se | https://apitest.capway.se/oauth/token |
| Production | https://api.capway.se | https://api.capway.se/oauth/token |
Authentication
Capway uses OAuth 2.0 Client Credentials authentication.
- Use the Client ID and Client Secret issued for your integration.
- Obtain an access token with a POST request to the token URL for the selected environment, using
grant_type=client_credentials. Send the Client ID and Client Secret as a Basic Auth header when requesting the token. - Send the access token with API requests in the
Authorizationheader using the Bearer scheme.
Use the token endpoint and API base URL from the same environment. Keep the Client Secret and access tokens private.
The supplied Postman collection uses the Client Credentials grant, references client credentials as variables, and adds authorization data to request headers. No token sample request is included in this portal.
No scope is required; leave the Scope field empty.
