Skip to main content
POST
/
migrations
/
{migration_id}
/
runs
/
{run_id}
/
credentials
Submit source credentials
curl --request POST \
  --url https://app.vern.so/api/v1/migrations/{migration_id}/runs/{run_id}/credentials \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "credentials": {
    "client_id": "…",
    "client_secret": "…",
    "refresh_token": "…"
  }
}
'
{
  "run_id": "d4c3b2a1-9f8e-47d6-b5a4-c3d2e1f0a9b8",
  "status": "running"
}

Authorizations

x-api-key
string
header
required

Your Vern API key. Create one at Settings → API keys.

Path Parameters

migration_id
string<uuid>
required

The migration ID returned by Create a migration.

run_id
string<uuid>
required

The run ID returned by Start a run.

Body

application/json
credentials
object
required

Secret values keyed to the request's schema. Must be a non-empty object.

connection_id
string<uuid>

Optional guard — if sent, must match the run's credential_request.connection_id.

Response

Credentials stored; the run resumed and is running again.

run_id
string<uuid>
status
string
Example:

"running"