API reference
Workspaces
Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits:
conventions. OpenAPI document: openapi.json.
All 11 Workspaces operations
- GET List workspaces
- POST Create a workspace
- GET List workspaces with their usage
- POST Delete a workspace
- GET List a workspace's formats
- POST Name the workspace after an account
- PUT Set the logo
- DELETE Remove the logo
- POST Start a logo upload
- GET Get a workspace's settings
- PATCH Update a workspace's settings
List workspaces
/organizations/{organizationId}/workspaces workspaces.list - Scope
- organization:read
- Role permission
- Any member who can see it
- Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Lists the organization's workspaces the token can reach: the ones the user's teams let them see, and, when the token was given only some workspaces of this organization, only those. Each has its id, name, time zone (wall times of its calendar are in that zone) and a short-lived avatar URL. Most operations take a workspace id from here.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · ListWorkspacesResponse
dataarray of objectrequired5fields in each item
idstringrequiredThe workspace's id (a UUID), the:workspaceIdof workspace paths.namestringrequiredavatarUrlstringrequirednullableSigned URL of the workspace's picture, valid one hour;nullwithout one.timezonestringrequirednullableIANA time zone (Europe/Paris) its calendar's wall times are in;nullwhen never set (UTC).defaultAccountIdsarray of stringoptionalSocial account ids a new post starts with (the default platforms); may name accounts disconnected since.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
10 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
One workspace
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": [
{
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"avatarUrl": null,
"timezone": "Europe/Paris",
"defaultAccountIds": []
}
]
} Create a workspace
/organizations/{organizationId}/workspaces workspaces.create - Scope
- workspaces:manage
- Role permission
- Create workspaces (
workspace:create) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Creates a workspace in the organization with a name (3 to 255 characters, trimmed) and an IANA time zone, and answers 201 with it. Refused with 402 WORKSPACE_LIMIT_REACHED (details.limit) once the plan's workspaces are used up (GET …/workspaces/manage shows usage and limit). Needs a token given every workspace of the organization (403 INTEGRATION_SELECTION_TOO_NARROW otherwise). Connect its social accounts next (POST …/social-accounts/connect).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Request body JSON, required
object · CreateWorkspaceBody
namestringrequired3–255 characterstimezonestringrequiredIANA time zone, e.g.Europe/Paris.1–64 characters
Responses
201 Created
object · CreateWorkspaceResponse
dataobject · WorkspaceSummaryrequired5fields
idstringrequiredThe workspace's id (a UUID), the:workspaceIdof workspace paths.namestringrequiredavatarUrlstringrequirednullableSigned URL of the workspace's picture, valid one hour;nullwithout one.timezonestringrequirednullableIANA time zone (Europe/Paris) its calendar's wall times are in;nullwhen never set (UTC).defaultAccountIdsarray of stringoptionalSocial account ids a new post starts with (the default platforms); may name accounts disconnected since.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 402 | WORKSPACE_LIMIT_REACHED | Your plan's workspaces are used up. Upgrade or add workspaces to create another one. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | INTEGRATION_SELECTION_TOO_NARROW | This needs access to every workspace of the organization. Connect again and pick all workspaces. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
A workspace in New York time
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind US",
"timezone": "America/New_York"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "Northwind US",
"timezone": "America/New_York"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"name": "Northwind US",
"timezone": "America/New_York",
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"id": "8a1e4f0c-2b7d-4c95-b3e6-0f9d2c7a5b18",
"name": "Northwind US",
"avatarUrl": null,
"timezone": "America/New_York",
"defaultAccountIds": []
}
} List workspaces with their usage
/organizations/{organizationId}/workspaces/manage workspaces.managed.list - Scope
- organization:read
- Role permission
- Any of: Create workspaces (
workspace:create), Manage workspace settings (workspace:update), Delete workspaces (workspace:delete) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Lists the workspaces the token can reach with what each holds (storage in bytes, post counts, how many teams see it), plus how many workspaces the organization has (usage, all of them) against what the plan allows (limit, null = unlimited). For members who can create, edit or delete workspaces; GET …/workspaces is the plain list any member can read.
usage counts every workspace of the organization, also those the token was not given (the plan's allowance), so it can be larger than the list; workspaces holds only the ones the token can reach.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · ListManagedWorkspacesResponse
dataobjectrequired3fields
workspacesarray of objectrequired8fields in each item
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image;nullwithout one.timezonestringrequirednullableIANA time zone;nullwhen never set (treated as UTC).createdAtstringrequiredWhen the workspace was created, ISO 8601 in UTC.teamCountnumberrequiredTeams that see it: the ones it's assigned to plus the ones that see every workspace.storageBytesnumberrequiredBytes its media and uploaded Paper files take.postsobjectrequiredPost counts: all posts, posts waiting in review, and published posts created in the last 30 days.3fields
totalnumberrequiredinReviewnumberrequiredpostedLast30Daysnumberrequired
usagenumberrequiredWorkspaces the organization has, counted against its plan (all of them).limitnumberrequirednullableWorkspaces the plan allows, add-ons included;null= unlimited.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
10 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
One workspace on a three-workspace plan
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/manage" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/manage", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/manage",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"workspaces": [
{
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"logoUrl": null,
"timezone": "Europe/Paris",
"createdAt": "2026-03-02T09:14:00.000Z",
"teamCount": 1,
"storageBytes": 734003200,
"posts": {
"total": 182,
"inReview": 3,
"postedLast30Days": 21
}
}
],
"usage": 1,
"limit": 3
}
} Delete a workspace
/organizations/{organizationId}/workspaces/{workspaceId}/delete workspaces.delete - Scope
- workspaces:manage
- Role permission
- Delete workspaces (
workspace:delete) - Effect
- Deletes data or cannot be undone.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Deletes the workspace and everything in it, for good: posts, connected accounts, media, formats, posting slots and settings, and cancels its queued publications. confirmName must be the workspace's exact name (422 CONFIRMATION_MISMATCH otherwise). The organization's last workspace can't be deleted (409 LAST_WORKSPACE). Needs a token given every workspace of the organization. Answers 204 with no body.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · DeleteWorkspaceBody
confirmNamestringrequiredThe workspace's exact name (surrounding spaces ignored), to confirm the deletion.at most 305 characters
Responses
204 No content
No content.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 422, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 409 | LAST_WORKSPACE | An organization needs at least one workspace. Create another one first. |
| 422 | CONFIRMATION_MISMATCH | The name typed doesn't match. Type it exactly to confirm. |
14 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 403 | INTEGRATION_SELECTION_TOO_NARROW | This needs access to every workspace of the organization. Connect again and pick all workspaces. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Confirmed by name
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/delete" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"confirmName": "Northwind"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/delete", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"confirmName": "Northwind"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/delete",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"confirmName": "Northwind",
},
)
response.raise_for_status() Answers 204 with no content.
List a workspace's formats
/organizations/{organizationId}/workspaces/{workspaceId}/formats workspaces.formats.list - Scope
- organization:read
- Role permission
- Any member who can see it
- Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Lists the workspace's formats (its content types, such as "Reel" or "Tutorial"), by name, with their color. Posts and posting slots name formats by these ids.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Responses
200 OK
object · WorkspaceFormatsResponse
dataarray of objectrequired3fields in each item
idstringrequirednamestringrequiredcolorstringrequired
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
10 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Two formats
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/formats" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/formats", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/formats",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": [
{
"id": "c2b8e1d4-7f3a-4e6b-9c0d-5a1f8e2b7c93",
"name": "Reel",
"color": "#e4572e"
},
{
"id": "f0a7c3e9-1d5b-4b8a-8e2f-6c9d0b4a1e57",
"name": "Tutorial",
"color": "#17bebb"
}
]
} Name the workspace after an account
/organizations/{organizationId}/workspaces/{workspaceId}/identity-from-social-account workspaces.identity.adopt - Scope
- workspaces:write
- Role permission
- Manage workspace settings (
workspace:update) - Effect
- Changes data in Beplan.
- Idempotency
- Send an
Idempotency-Keyto retry safely: the same key with the same body within 24 hours returns the stored response. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Gives the workspace the name of one of its connected social accounts (when it makes a valid workspace name) and, when the workspace has no logo yet, that account's profile picture. An existing logo is never replaced; the picture is best effort (the name still changes when it can't be used). Account ids come from GET …/social-accounts. Answers with the settings after the change.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · AdoptSocialAccountIdentityBody
socialAccountIdstring (uuid)required
Responses
200 OK
object · WorkspaceSettingsResponse
dataobject · WorkspaceSettingsrequired5fields
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the settings again for a fresh one);nullwithout one.hasUploadedLogobooleanrequiredAn uploaded logo is set (it can be removed).timezonestringrequirednullableIANA time zone (Europe/Paris) of the calendar and posting slots;nullwhen never set (treated as UTC).
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500, 502.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | SOCIAL_ACCOUNT_NOT_FOUND | This account isn't connected to this workspace anymore. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 502 | UPSTREAM_FAILED | A service we depend on didn't respond. Please try again. |
13 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Take the Instagram account's name
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/identity-from-social-account" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"socialAccountId": "5b9e2d7a-0c4f-4a18-9e3b-7d6c1f8a2e05"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/identity-from-social-account", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"socialAccountId": "5b9e2d7a-0c4f-4a18-9e3b-7d6c1f8a2e05"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/identity-from-social-account",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"socialAccountId": "5b9e2d7a-0c4f-4a18-9e3b-7d6c1f8a2e05",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "northwind.studio",
"logoUrl": null,
"hasUploadedLogo": false,
"timezone": "Europe/Paris"
}
} Set the logo
/organizations/{organizationId}/workspaces/{workspaceId}/logo workspaces.logo.set - Scope
- workspaces:write
- Role permission
- Manage workspace settings (
workspace:update) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Makes an uploaded image the workspace's logo (after POST …/logo/uploads and the PUT of the file). The file is checked in storage: 404 AVATAR_UPLOAD_NOT_FOUND when nothing was uploaded under that id for this workspace, 422 AVATAR_UPLOAD_INVALID when it is empty, too large or not an accepted image. The previous uploaded logo is deleted. Answers with the settings after the change.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · SetWorkspaceLogoBody
uploadIdstringrequired1–200 characters
Responses
200 OK
object · WorkspaceSettingsResponse
dataobject · WorkspaceSettingsrequired5fields
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the settings again for a fresh one);nullwithout one.hasUploadedLogobooleanrequiredAn uploaded logo is set (it can be removed).timezonestringrequirednullableIANA time zone (Europe/Paris) of the calendar and posting slots;nullwhen never set (treated as UTC).
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 422, 429, 500, 502.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | AVATAR_UPLOAD_NOT_FOUND | This picture didn't finish uploading or expired. Upload it again. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
| 422 | AVATAR_UPLOAD_INVALID | This picture can't be used. Upload a JPEG, PNG or WebP image under 5 MB. |
| 502 | UPSTREAM_FAILED | A service we depend on didn't respond. Please try again. |
11 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Confirm an upload
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"uploadId": "6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo", {
method: "PUT",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"uploadId": "6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.put(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"uploadId": "6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"logoUrl": "https://storage.beplan.io/organization-media/…?X-Amz-Signature=…",
"hasUploadedLogo": true,
"timezone": "Europe/Paris"
}
} Remove the logo
/organizations/{organizationId}/workspaces/{workspaceId}/logo workspaces.logo.remove - Scope
- workspaces:write
- Role permission
- Manage workspace settings (
workspace:update) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Removes the workspace's logo (an uploaded file is deleted). Doing it again changes nothing. Answers with the settings after the change.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Responses
200 OK
object · WorkspaceSettingsResponse
dataobject · WorkspaceSettingsrequired5fields
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the settings again for a fresh one);nullwithout one.hasUploadedLogobooleanrequiredAn uploaded logo is set (it can be removed).timezonestringrequirednullableIANA time zone (Europe/Paris) of the calendar and posting slots;nullwhen never set (treated as UTC).
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
10 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
No logo any more
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo", {
method: "DELETE",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.delete(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"logoUrl": null,
"hasUploadedLogo": false,
"timezone": "Europe/Paris"
}
} Start a logo upload
/organizations/{organizationId}/workspaces/{workspaceId}/logo/uploads workspaces.logoUploads.create - Scope
- workspaces:write
- Role permission
- Manage workspace settings (
workspace:update) - Effect
- Changes data in Beplan.
- Idempotency
- Single-flight: an
Idempotency-Keyonly stops a second run while the first is running. Its answer carries signed links and is never stored, so a repeat afterwards runs again with fresh links. - Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
First step of changing the workspace's logo: declare the image (WebP, JPEG or PNG, at most 5 MiB; a square image looks best) and get a signed storage URL, valid 10 minutes. PUT the file there in one request with the same Content-Type and no Authorization header, then confirm with PUT …/logo and the uploadId. Nothing changes until then. Answers 201.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · CreateWorkspaceLogoUploadBody
mimeTypestringrequiredOne of:image/webp,image/jpeg,image/pngsizeintegerrequiredThe file's size in bytes.above 0 to 5242880
Responses
201 Created
object · WorkspaceLogoUploadResponse
dataobject · AvatarUploadrequired2fields
uploadIdstringrequiredThe upload to confirm once the file is uploaded.urlstringrequiredSigned storage URL, valid 10 minutes: send the file there in onePUTwith the declaredContent-Typeand noAuthorizationheader.
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 409, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
13 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 409 | CONFLICT | This changed in the meantime. Refresh and try again. |
| 409 | IDEMPOTENCY_KEY_REUSED | This Idempotency-Key was already used for a different request. Send a new key. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
A 120 KiB WebP
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo/uploads" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"mimeType": "image/webp",
"size": 122880
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo/uploads", {
method: "POST",
headers: {
Authorization: "Bearer beplan_pat_…",
"Idempotency-Key": crypto.randomUUID(),
"Content-Type": "application/json",
},
body: JSON.stringify({
"mimeType": "image/webp",
"size": 122880
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import uuid
import requests
response = requests.post(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo/uploads",
headers={"Authorization": "Bearer beplan_pat_…", "Idempotency-Key": str(uuid.uuid4())},
json={
"mimeType": "image/webp",
"size": 122880,
},
)
response.raise_for_status()
data = response.json()["data"] Response 201
{
"data": {
"uploadId": "6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46",
"url": "https://storage.beplan.io/organization-media/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/logo-6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46?X-Amz-Signature=…"
}
} Get a workspace's settings
/organizations/{organizationId}/workspaces/{workspaceId}/settings workspaces.settings.get - Scope
- organization:read
- Role permission
- Any member who can see it
- Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Returns the workspace's general settings: name, logo (a short-lived URL, and whether an uploaded logo is set) and IANA time zone, in which the calendar and posting slots read their wall times. Any member who sees the workspace can read them.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Responses
200 OK
object · WorkspaceSettingsResponse
dataobject · WorkspaceSettingsrequired5fields
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the settings again for a fresh one);nullwithout one.hasUploadedLogobooleanrequiredAn uploaded logo is set (it can be removed).timezonestringrequirednullableIANA time zone (Europe/Paris) of the calendar and posting slots;nullwhen never set (treated as UTC).
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
10 more that every operation can answer (tokens, scopes, limits)
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
A workspace in Paris time
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings", {
method: "GET",
headers: {
Authorization: "Bearer beplan_pat_…",
},
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.get(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"logoUrl": null,
"hasUploadedLogo": false,
"timezone": "Europe/Paris"
}
} Update a workspace's settings
/organizations/{organizationId}/workspaces/{workspaceId}/settings workspaces.settings.update - Scope
- workspaces:write
- Role permission
- Manage workspace settings (
workspace:update) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Renames the workspace (3 to 255 characters, trimmed) and/or changes its IANA time zone; only the fields sent change. Changing the time zone moves what wall times mean for its calendar and posting slots; already scheduled posts keep their exact moment. Answers with the settings after the change.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
workspaceId required | path | string (uuid) |
Request body JSON, required
object · UpdateWorkspaceSettingsBody
namestringoptional3–255 characterstimezonestringoptionalIANA time zone, e.g.America/New_York.1–64 characters
Responses
200 OK
object · WorkspaceSettingsResponse
dataobject · WorkspaceSettingsrequired5fields
idstringrequiredThe workspace's id (a UUID).namestringrequiredlogoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the settings again for a fresh one);nullwithout one.hasUploadedLogobooleanrequiredAn uploaded logo is set (it can be removed).timezonestringrequirednullableIANA time zone (Europe/Paris) of the calendar and posting slots;nullwhen never set (treated as UTC).
Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 413, 415, 429, 500.
Error codes
| Status | Code | Message |
|---|---|---|
| 400 | VALIDATION_FAILED | Some of the information sent is invalid. |
| 403 | MISSING_PERMISSION | You don't have permission to do this. |
| 404 | ORGANIZATION_NOT_FOUND | This organization doesn't exist or you're not a member of it. |
| 404 | WORKSPACE_NOT_FOUND | This workspace doesn't exist or you don't have access to it. |
11 more that every operation can answer (tokens, scopes, limits)
| 401 | APP_SUSPENDED | This app has been suspended by Beplan and can't access your account. |
| 401 | TOKEN_EXPIRED | This token has expired. Create a new one or sign in again. |
| 401 | TOKEN_REVOKED | This token was revoked. Connect again to get a new one. |
| 401 | UNAUTHENTICATED | Your session has expired. Please sign in again. |
| 403 | INSUFFICIENT_SCOPE | This token doesn't have the access this needs. Connect again and allow it. |
| 403 | INTEGRATION_BLOCKED_BY_ORGANIZATION | This organization doesn't allow this integration. Ask an admin of the organization. |
| 403 | INTEGRATION_PENDING_APPROVAL | An admin of this organization needs to approve this connection first. |
| 413 | PAYLOAD_TOO_LARGE | This request is too large to be sent with an Idempotency-Key. Send a smaller body or no key. |
| 415 | UNSUPPORTED_MEDIA_TYPE | This API reads JSON bodies only. Send the body as JSON with `Content-Type: application/json`. |
| 429 | RATE_LIMITED | Too many requests. Wait a moment and try again. |
| 500 | INTERNAL_ERROR | Something went wrong on our side. Please try again. |
Example
Move to London time
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"timezone": "Europe/London"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"timezone": "Europe/London"
}),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json(); import requests
response = requests.patch(
"https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/workspaces/3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62/settings",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"timezone": "Europe/London",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "3f6c2a8e-91b4-4d7e-a2c5-7e0b9d1f4a62",
"name": "Northwind",
"logoUrl": null,
"hasUploadedLogo": false,
"timezone": "Europe/London"
}
}