Skip to main content
POST
Spawn a workspace from Mothership

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.

Body

application/json
channel_id
string
required

Slack channel containing the thread.

thread_ts
string
required

Root timestamp of the Slack thread.

message_ts
string
required

Timestamp of the Slack message that triggered the spawn.

prompt
string
required

Task passed to the dedicated workspace.

user_id
string
required

Slack user ID of the message author who triggered the spawn.

environment_id
string<uuid>

Optional environment selected by Mothership.

Response

Workspace spawn accepted

ok
boolean
required