Create virtual user.
const url = 'https://app.everruns.com/api/v1/virtual-users';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"avatar_url":"https://example.com/avatar.png","description":"example","locale":"en-US","name":"Ops Bot","timezone":"America/Los_Angeles","usage":"end_user"}'};
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/virtual-users \ --header 'Content-Type: application/json' \ --data '{ "avatar_url": "https://example.com/avatar.png", "description": "example", "locale": "en-US", "name": "Ops Bot", "timezone": "America/Los_Angeles", "usage": "end_user" }'Request Bodyrequired
Section titled “Request Bodyrequired”Create an organization-scoped runtime account.
object
Profile image URL.
Example
https://example.com/avatar.pngHuman-readable description. Safe to render in user-facing messages.
Locale used for agent-facing defaults.
Example
en-USHuman-readable name. Safe to render in user-facing messages.
Example
Ops BotIANA time zone used for agent-facing defaults.
Example
America/Los_AngelesRuntime purpose; service accounts may be attached to agents.
Responses
Section titled “Responses”Success
Organization-scoped runtime account with its own profile and connections.
object
Archive timestamp.
Optional avatar URL for UI surfaces.
Creation timestamp.
Delete timestamp.
Optional description shown in management UI.
Effective human owner summary derived from the principal lineage.
object
Class of principal that can hold permissions or own resources. system
is reserved for platform-internal callers and is never minted via the
public API.
External identifier (identity_<32-hex>). Shown as id in API.
Default locale for unattended runs.
Display name used when the identity acts autonomously.
Organization that owns the runtime account.
Principal row representing this identity as a durable owner/executor.
object
Class of principal that can hold permissions or own resources. system
is reserved for platform-internal callers and is never minted via the
public API.
Lifecycle status.
Default timezone for unattended runs.
Last update timestamp.
Immutable runtime account purpose.
Example
{ "effective_owner": { "id": "principal_01933b5a000070008000000000000001", "kind": "user" }, "id": "identity_01933b5a000070008000000000000001", "organization_id": "org_example", "principal": { "id": "principal_01933b5a000070008000000000000001", "kind": "user" }, "status": "active", "usage": "end_user"}Authentication required
Permission denied