API access

Authentication

All requests to the API are authenticated with an authorization token. In order to retrieve a token, you need to generated a token by exchanging a username and password for a token. Refer to the Tokens documentation to learn how.

Note

At a later stage the token API will be replaced by an OAuth2 flow of sorts.

API requests

All endpoints currently live on https://api.a2b-internet.com/. The endpoints accept JSON blobs and will return JSON responses. JSON is currently the only supported format. See OpenAPI specifications for the list of endpoints.

Testing environment

For your convenience, a testing environment is available at https://api-dev.a2b-internet.com/. This is the exact same environment as the production environment with the difference that placed orders are not actually sent to any remote systems.