Skip to main content
Skip table of contents

Access token API

JWT (JSON Web Tokens) is the secure method for accessing KiwiRail's APIs.

  • Access Tokens: KiwiRail provides you with access and refresh tokens for secure communication.

  • Send Messages: Start integrating with KiwiRail using your security token.

  • Stay Connected: Refresh your security token using our endpoint before KiwiRail's tokens expire.

Once KiwiRail have provided you with an access and a refresh token, you can start to send electronic messages to KiwiRail using your security token. You can generate a new security token using the refresh endpoint before the KiwiRail generated tokens expire.

To assist you on this journey, we've prepared a Swagger file that simplifies the process of refreshing tokens through our Token API. This Swagger file is available in JSON format. For a comprehensive understanding of each parameter, feel free to download our Refresh Swagger Document Definition. Alternatively, you can download the swagger file and utilize online tools like (Swagger Editor) to view these details.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.