HTTP Methods

Used for creating new objects and adding new transactions into the queue.

Generating an API Token

All API calls require an API Token used as a bearer token to authenticate with Speedyrails. If an API token is not included in the API call header, the call will return a 401 Unauthorized error.

To Generate an API token:

From the Speedyrails Manager, click your User name.

Click API Tokens.

Click Add API Token.

Enter a Label for the API token.

Select the organization from the drop-down menu.

Select the Permissions for the API token.

Click Generate API Token.

Once you have created an API token, it will be visible on your screen to allow you to copy and paste it somewhere safe. After leaving that screen, the API token will never be visible in the Speedyrails Manager again.

Interpreting Examples

Each API call includes an example call and an example curl request. Any capitalized terms, such as API_TOKEN, or LABEL_NAME show where to include your own API Token, or label.