Skip to main content
Written by Ali Kiassat
Updated over a week ago

The Railz API uses API keys to authenticate requests. You can view and manage your API keys in the Railz Dashboard™.

Authentication to the API is performed via HTTP Basic Authentication on the /getAccess endpoint. Please use the Identified and the Secret that you have generated from the Railz Dashboard™ under Developer >> API Keys.

The response from the /getAccess endpoint will provide you with an access_token that you can use with the different Railz API endpoints.

An access_token is valid for 60 minutes. We recommend getting a new access_token before calling each API endpoint.

Here's a short video on how to authenticate using the Railz API:

Did this answer your question?