Skip to main content
POST
Preview Import

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Workspace-Id
string | null

Path Parameters

team_id
string<uuid>
required
project_id
string<uuid>
required
environment_id
string<uuid>
required
workspace_id
string<uuid> | null
required

Body

application/json
provider
enum<string>
required
Available options:
railway,
vercel,
render
token
string
required

API token for the provider. Never stored.

source
ImportSource · object
required

Which set of variables to read, in the provider's own terms.

reveal
boolean
default:false

Return values in clear text instead of masked.

Response

Successful Response

provider
enum<string>
required
Available options:
railway,
vercel,
render
added
ImportItem · object[]
required
changed
ImportChange · object[]
required
unchanged
string[]
required
skipped
SkippedItem · object[]
required
total
integer
required

Variables read from the provider.