create_connection
POST
/v1/orgs/{org}/organization-connections/providers/{provider}
const url = 'https://app.everruns.com/api/v1/orgs/example/organization-connections/providers/example';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"api_key":"example-api-key","name":"Production Daytona"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.everruns.com/api/v1/orgs/example/organization-connections/providers/example \ --header 'Content-Type: application/json' \ --data '{ "api_key": "example-api-key", "name": "Production Daytona" }'Create and validate an encrypted organization-owned sandbox provider account.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”org
required
string
provider
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Organization-owned sandbox provider account input.
object
api_key
required
Provider API key, encrypted before storage.
string
Example
example-api-keyname
required
Human-readable account name shown in Sandbox Template selectors.
string
Example
Production DaytonaResponses
Section titled “ Responses ”Media typeapplication/json
Non-secret metadata for an organization-owned sandbox provider account.
object
connected_at
required
Time at which the provider account was first connected.
string format: date-time
id
required
Stable connection identifier used by Sandbox Templates.
string format: uuid
name
required
Human-readable account name.
string
provider
required
Sandbox provider connector identifier.
string
provider_username
Provider identity returned while validating the credential, when available.
string | null
updated_at
required
Time at which the account name or credential was last replaced.
string format: date-time
Example
{ "connected_at": "2026-10-07T12:00:00Z", "id": "00000000-0000-0000-0000-000000000002", "name": "Production Daytona", "provider": "daytona", "provider_username": "platform-team", "updated_at": "2026-10-07T12:30:00Z"}