Skip to main content
POST
Import From Provider

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.

mode
enum<string>
default:skip

What to do with keys that already exist here: 'skip' leaves them alone, 'overwrite' records the provider's value as a new version.

Available options:
skip,
overwrite

Response

Successful Response

provider
enum<string>
required
Available options:
railway,
vercel,
render
environment_id
string<uuid4>
required
created
integer
required
updated
integer
required
unchanged
integer
required
skipped
SkippedItem · object[]
required