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.
Swagger File: Token Refresh Swagger File 2.1.5 (you can save this as a .json file)
Definition Document: Refresh Swagger Document Definition
Samples: Refresh Request | Refresh Response
Name | Method | Test | ⭐ Production |
---|---|---|---|
Refresh Token | POST |