cURL
Railway
Create
Create a Railway Connection.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check out the configuration docs for Railway Connections to learn how to obtain the required credentials.
Body
application/json
The method used to authenticate with Railway.
Available options:
account-token, project-token, team-token The credentials used to connect with Railway.
The name of the Railway Connection to create. Must be slug-friendly.
Required string length:
1 - 64An optional description for the Railway Connection.
Maximum string length:
256The ID of the project to create the Railway Connection in.
Not supported for Railway Connections.
Available options:
false Not supported for Railway Connections.
Not supported for Railway Connections.
Available options:
false Not supported for Railway Connections.
Response
Default Response