---
title: API Tokens
description: We provide two paths to creating an API token.
---

[Skip to content](https://support.railstate.com/api-tokens#main-content)

English

Show submenu for translations

[![White RailState Logo@2x](https://support.railstate.com/hs-fs/hubfs/White%20RailState%20Logo@2x.png?width=218&height=48&name=White%20RailState%20Logo@2x.png)](https://www.railstate.com/)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [RailState Knowledge Base](https://support.railstate.com/?hsLang=en)
2. [Getting started](https://support.railstate.com/getting-started?hsLang=en)
3. [API](https://support.railstate.com/getting-started?hsLang=en#api)

# API Tokens

## We provide two paths to creating an API token.

### Path 1: Via UI

Once logged into the UI, select user in the top right corner, as indicated below:

![](https://support.railstate.com/hs-fs/hubfs/image-png-2.png?width=305&height=102&name=image-png-2.png)

 

Then select Tokens, then 'Add new token'

![](https://support.railstate.com/hs-fs/hubfs/image-png-3.png?width=688&height=103&name=image-png-3.png)

To create the token enter values as prompted. Note: At any time hover over the blue question mark tool tip for more details:

![](https://support.railstate.com/hs-fs/hubfs/image-png-4.png?width=688&height=433&name=image-png-4.png)

You can set whether the token expires or not as you create it. By default it does not expire. 

If ever you want to change the token you can disable the existing one and create a new one. You can create tokens in advance with the 'Not Before' date populated.

If you populate the Validation Seconds it would set when the token expires. So if you want it to expire in a month, as an example, you can put a value of 2,592,000.

But again, at default we leave these blank which means they don't expire - so you don't need to do all that unless you have reason to on your end.

 

### Path 2: Contact RailState

If you have API access but no UI access included in your subscription, have the primary API user contact RailState at support+api@railstate.com to have one generated and sent.

- [Getting started](https://support.railstate.com/getting-started?hsLang=en#main-content)

    - [UI Overview](https://support.railstate.com/getting-started?hsLang=en#ui-overview)
    - [API](https://support.railstate.com/getting-started?hsLang=en#api)
    - [Data](https://support.railstate.com/getting-started?hsLang=en#data)
- [Release Note Archive](https://support.railstate.com/release-note-archive?hsLang=en#main-content)

    - [Release Notes January 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-january-2024)
    - [Release Notes February 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-february-2024)
    - [Release Notes March 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-march-2024)
    - [Release Notes April 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-april-2024)
    - [Release Notes May 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-may-2024)
    - [Release Notes June 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-june-2024)
    - [Release Notes July 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-july-2024)
    - [Release Notes Sept. 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-sept-2024)
    - [Release Notes Oct. 2024](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-oct-2024)
    - [Release Notes March 2025](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-march-2025)
    - [Release Notes June 2025](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-june-2025)
    - [Release Notes Oct. 2025](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-oct-2025)
    - [Release Notes Nov. 2025](https://support.railstate.com/release-note-archive?hsLang=en#release-notes-nov-2025)
- [FAQs](https://support.railstate.com/faqs?hsLang=en#main-content)

    - [How-To](https://support.railstate.com/faqs?hsLang=en#how-to)
- [Useful Contacts](https://support.railstate.com/useful-contacts?hsLang=en#main-content)

    - [API](https://support.railstate.com/useful-contacts?hsLang=en#api)
    - [UI](https://support.railstate.com/useful-contacts?hsLang=en#ui)
- [General](https://support.railstate.com/general?hsLang=en#main-content)

    - [Data Dictionary](https://support.railstate.com/general?hsLang=en#data-dictionary)

[![Railstate\_color\_horizontal\_logo\_small\_png](https://support.railstate.com/hs-fs/hubfs/Railstate_color_horizontal_logo_small_png.png?width=234&height=54&name=Railstate_color_horizontal_logo_small_png.png "Railstate_color_horizontal_logo_small_png")](http://railstate.com)

<https://www.linkedin.com/company/railstate/>

Copyright © 2025, RailState LLC