Skip to main content

Organisation

Every call needs Authorization: Bearer <key>. 4 calls:

Get the organisation​

GET /v1/org

Headers

NameTypeRequiredDescription
x-workspace-idstringNoWorkspace for session (JWT) callers. API keys carry their own workspace.

Response 200

FieldTypeDescription
created_atstring (date-time)ISO 8601 timestamp.
idstringOrganisation id (org_...).
logo_urlstring or null
namestring
planenumOne of: pilot, growth, enterprise.
sandbox_enabledboolean
slugstring
statusenumOne of: onboarding, live, paused, suspended, offboarded.
timezonestringIANA time zone. Up to 64 characters.

Errors: 400, 401, 403, 404, 409, 413, 415, 429, 500. See errors for the shape and codes.

Update the organisation​

PATCH /v1/org

Headers

NameTypeRequiredDescription
x-workspace-idstringNoWorkspace for session (JWT) callers. API keys carry their own workspace.
idempotency-keystringNoMakes the write safe to retry for 24 hours. 1 to 255 printable characters. Keys starting with outreach:, workflow: or agent: are reserved for messages bubbl3 sends itself and are refused with 400. Up to 255 characters.

Request body

FieldTypeRequiredDescription
logo_urlstring (uri) or nullNoHTTPS URL. Up to 2048 characters.
namestringNoUp to 120 characters.
sandbox_enabledbooleanNo
timezonestringNoIANA time zone. Up to 64 characters.

Response 200

FieldTypeDescription
created_atstring (date-time)ISO 8601 timestamp.
idstringOrganisation id (org_...).
logo_urlstring or null
namestring
planenumOne of: pilot, growth, enterprise.
sandbox_enabledboolean
slugstring
statusenumOne of: onboarding, live, paused, suspended, offboarded.
timezonestringIANA time zone. Up to 64 characters.

Errors: 400, 401, 403, 404, 409, 413, 415, 429, 500. See errors for the shape and codes.

List the organisation's workspaces​

GET /v1/workspaces

Headers

NameTypeRequiredDescription
x-workspace-idstringNoWorkspace for session (JWT) callers. API keys carry their own workspace.

Response 200

FieldTypeDescription
dataobject[]
data[].created_atstring (date-time)ISO 8601 timestamp.
data[].idstringWorkspace id (ws_...).
data[].is_defaultboolean
data[].namestring
data[].org_idstringOrganisation id (org_...).

Errors: 400, 401, 403, 404, 409, 413, 415, 429, 500. See errors for the shape and codes.

Create a workspace​

POST /v1/workspaces

The caller becomes the owner of the new workspace.

Headers

NameTypeRequiredDescription
x-workspace-idstringNoWorkspace for session (JWT) callers. API keys carry their own workspace.
idempotency-keystringNoMakes the write safe to retry for 24 hours. 1 to 255 printable characters. Keys starting with outreach:, workflow: or agent: are reserved for messages bubbl3 sends itself and are refused with 400. Up to 255 characters.

Request body

FieldTypeRequiredDescription
namestringYesUp to 80 characters.

Response 201

FieldTypeDescription
created_atstring (date-time)ISO 8601 timestamp.
idstringWorkspace id (ws_...).
is_defaultboolean
namestring
org_idstringOrganisation id (org_...).

Errors: 400, 401, 403, 404, 409, 413, 415, 429, 500. See errors for the shape and codes.