Rail Europe Logo

Hands-on ERA API

Configure a postman workspace for ERA API in a nutshell

Import ERA API collection.

Import from blank workspace

1. Choose "import from link"

2. Paste the link from API docs: Hands-on ERA API collection

3. Import your new collection

Import ERA API collection

Manage ERA API environments.

Manage ERA API environments

1. Download on a local directory: Hands-on ERA API environment template

2. Select to import an existing environment

3. Select file Hand-on ERA API sandbox.postman_environment.json in your local directory

Select environment file to import

4. Add the imported environment

Add the imported environment

5. Complete the environment configuration with the settings provided by Rail Europe

Please contact our support team to get your test environment credentials.

Complete the environment configuration

Search some point-to-point offers...

Search some point-to-point offers

You're not authorized (yet!) to access ERA API, you need to generate a token.

You're not authorized (yet!) to access ERA API

1. Select Authorization tab to authorize your request

2. And go to "Hands-on ERA API" link

Authorize your request

3. Get a new access token

Get a new access token

4. Request ERA authorization server for a new token

5. And finally select "Use Token" option

Request ERA authorization server for a new token

6. Now you can update your configuration with the provided access token

Update your configuration with the provided access token

7. Submit again your point-to-point offers search

And voila, you finally succeed doing your first ERA API request!

Success