API reference
Organizations
Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits:
conventions. OpenAPI document: openapi.json.
All 8 Organizations operations
- GET Get an organization
- PATCH Rename the organization
- PUT Set the logo
- DELETE Remove the logo
- POST Start a logo upload
- GET Get my membership
- GET Get the scheduling quota
- GET Get the organization's usage
Get an organization
/organizations/{organizationId} organizations.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 organization: name, slug, a short-lived logo URL, creation date, member count, and what the calling user can do there (their role, whether they could delete or leave it in the app). Any member can read it. Organization ids come from GET /me.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · OrganizationDetailsResponse
dataobject · OrganizationDetailsrequired11fields
idstringrequiredThe organization's id: an opaque string (not a UUID), the one in the URL.namestringrequiredslugstringrequiredDerived from the name (lowercase, dashes); changes when the organization is renamed.logoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the organization again for a fresh one);nullwithout a logo.hasLogobooleanrequiredcreatedAtstringrequiredWhen the organization was created, ISO 8601 in UTC.memberCountnumberrequiredHow many people are members, the owner included.myRolestringrequiredThe calling user's legacy role here (owner,admin,member,client…; several are comma-separated).GET …/members/megives the exact permissions.canDeletebooleanrequiredWhether the calling user could delete the organization in the Beplan app now.deleteBlockedReasonstringrequirednullableOne of (may gain values):has_members,active_subscriptioncanLeavebooleanrequiredWhether the calling user could leave the organization in the Beplan app now.
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
An organization seen by its owner
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP", {
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",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "Yx0k2N7mQf3bA9cRz1LwP",
"name": "Northwind Studio",
"slug": "northwind-studio",
"logoUrl": null,
"hasLogo": false,
"createdAt": "2026-03-02T09:14:00.000Z",
"memberCount": 4,
"myRole": "owner",
"canDelete": false,
"deleteBlockedReason": "has_members",
"canLeave": false
}
} Rename the organization
/organizations/{organizationId} organizations.update - Scope
- organization:write
- Role permission
- Manage the organization (
organization:update) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Renames the organization (1 to 100 characters, trimmed). Its slug is derived from the new name (lowercase, dashes) and must not be used by another organization: 409 ORGANIZATION_SLUG_TAKEN otherwise. Every member sees the new name at once. Answers with the organization after the change.
Needs a token given all the workspaces of the organization: one narrowed to chosen workspaces answers 403 INTEGRATION_SELECTION_TOO_NARROW, since the change affects every workspace.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Request body JSON, required
object · UpdateOrganizationBody
namestringrequired1–100 characters
Responses
200 OK
object · OrganizationDetailsResponse
dataobject · OrganizationDetailsrequired11fields
idstringrequiredThe organization's id: an opaque string (not a UUID), the one in the URL.namestringrequiredslugstringrequiredDerived from the name (lowercase, dashes); changes when the organization is renamed.logoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the organization again for a fresh one);nullwithout a logo.hasLogobooleanrequiredcreatedAtstringrequiredWhen the organization was created, ISO 8601 in UTC.memberCountnumberrequiredHow many people are members, the owner included.myRolestringrequiredThe calling user's legacy role here (owner,admin,member,client…; several are comma-separated).GET …/members/megives the exact permissions.canDeletebooleanrequiredWhether the calling user could delete the organization in the Beplan app now.deleteBlockedReasonstringrequirednullableOne of (may gain values):has_members,active_subscriptioncanLeavebooleanrequiredWhether the calling user could leave the organization in the Beplan app now.
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. |
| 409 | ORGANIZATION_SLUG_TAKEN | Another organization already uses this name. Pick another one. |
12 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. |
| 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 new name
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP" \
-H "Authorization: Bearer beplan_pat_…" \
-H "Content-Type: application/json" \
-d '{
"name": "Northwind Studio"
}' const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP", {
method: "PATCH",
headers: {
Authorization: "Bearer beplan_pat_…",
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "Northwind Studio"
}),
});
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",
headers={"Authorization": "Bearer beplan_pat_…"},
json={
"name": "Northwind Studio",
},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "Yx0k2N7mQf3bA9cRz1LwP",
"name": "Northwind Studio",
"slug": "northwind-studio",
"logoUrl": null,
"hasLogo": false,
"createdAt": "2026-03-02T09:14:00.000Z",
"memberCount": 4,
"myRole": "owner",
"canDelete": false,
"deleteBlockedReason": "has_members",
"canLeave": false
}
} Set the logo
/organizations/{organizationId}/logo organizations.logo.set - Scope
- organization:write
- Role permission
- Manage the organization (
organization:update) - Effect
- Changes data in Beplan.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Makes an uploaded image the organization'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 organization, 422 AVATAR_UPLOAD_INVALID when it is empty, too large or not an accepted image (the file is then deleted). The previous uploaded logo is deleted. Answers with the organization after the change; logoUrl is a signed link valid one hour.
Needs a token given all the workspaces of the organization: one narrowed to chosen workspaces answers 403 INTEGRATION_SELECTION_TOO_NARROW, since the change affects every workspace.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Request body JSON, required
object · SetOrganizationLogoBody
uploadIdstringrequired1–200 characters
Responses
200 OK
object · OrganizationDetailsResponse
dataobject · OrganizationDetailsrequired11fields
idstringrequiredThe organization's id: an opaque string (not a UUID), the one in the URL.namestringrequiredslugstringrequiredDerived from the name (lowercase, dashes); changes when the organization is renamed.logoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the organization again for a fresh one);nullwithout a logo.hasLogobooleanrequiredcreatedAtstringrequiredWhen the organization was created, ISO 8601 in UTC.memberCountnumberrequiredHow many people are members, the owner included.myRolestringrequiredThe calling user's legacy role here (owner,admin,member,client…; several are comma-separated).GET …/members/megives the exact permissions.canDeletebooleanrequiredWhether the calling user could delete the organization in the Beplan app now.deleteBlockedReasonstringrequirednullableOne of (may gain values):has_members,active_subscriptioncanLeavebooleanrequiredWhether the calling user could leave the organization in the Beplan app now.
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. |
| 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. |
12 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. |
| 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/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/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/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": "Yx0k2N7mQf3bA9cRz1LwP",
"name": "Northwind Studio",
"slug": "northwind-studio",
"logoUrl": "https://storage.beplan.io/organization-profile/…?X-Amz-Signature=…",
"hasLogo": true,
"createdAt": "2026-03-02T09:14:00.000Z",
"memberCount": 4,
"myRole": "owner",
"canDelete": false,
"deleteBlockedReason": "has_members",
"canLeave": false
}
} Remove the logo
/organizations/{organizationId}/logo organizations.logo.remove - Scope
- organization:write
- Role permission
- Manage the organization (
organization:update) - Effect
- Deletes data or cannot be undone.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-20.
Removes the organization's logo (an uploaded file is deleted for good). Doing it again changes nothing. Answers with the organization after the change.
Needs a token given all the workspaces of the organization: one narrowed to chosen workspaces answers 403 INTEGRATION_SELECTION_TOO_NARROW, since the change affects every workspace.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · OrganizationDetailsResponse
dataobject · OrganizationDetailsrequired11fields
idstringrequiredThe organization's id: an opaque string (not a UUID), the one in the URL.namestringrequiredslugstringrequiredDerived from the name (lowercase, dashes); changes when the organization is renamed.logoUrlstringrequirednullableSigned, short-lived URL of the logo image (read the organization again for a fresh one);nullwithout a logo.hasLogobooleanrequiredcreatedAtstringrequiredWhen the organization was created, ISO 8601 in UTC.memberCountnumberrequiredHow many people are members, the owner included.myRolestringrequiredThe calling user's legacy role here (owner,admin,member,client…; several are comma-separated).GET …/members/megives the exact permissions.canDeletebooleanrequiredWhether the calling user could delete the organization in the Beplan app now.deleteBlockedReasonstringrequirednullableOne of (may gain values):has_members,active_subscriptioncanLeavebooleanrequiredWhether the calling user could leave the organization in the Beplan app now.
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. |
11 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. |
| 403 | INTEGRATION_SELECTION_TOO_NARROW | This needs access to every workspace of the organization. Connect again and pick all workspaces. |
| 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/logo" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/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/logo",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "Yx0k2N7mQf3bA9cRz1LwP",
"name": "Northwind Studio",
"slug": "northwind-studio",
"logoUrl": null,
"hasLogo": false,
"createdAt": "2026-03-02T09:14:00.000Z",
"memberCount": 4,
"myRole": "owner",
"canDelete": false,
"deleteBlockedReason": "has_members",
"canLeave": false
}
} Start a logo upload
/organizations/{organizationId}/logo/uploads organizations.logoUploads.create - Scope
- organization:write
- Role permission
- Manage the organization (
organization: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-20.
First step of changing the organization'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.
Needs a token given all the workspaces of the organization: one narrowed to chosen workspaces answers 403 INTEGRATION_SELECTION_TOO_NARROW, since the change affects every workspace.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Request body JSON, required
object · CreateOrganizationLogoUploadBody
mimeTypestringrequiredOne of:image/webp,image/jpeg,image/pngsizeintegerrequiredabove 0 to 5242880
Responses
201 Created
object · OrganizationLogoUploadResponse
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. |
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 120 KiB WebP
curl -X POST "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/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/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/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-profile/Yx0k2N7mQf3bA9cRz1LwP/logo-6d2f9b1e-4a7c-4e3d-b8f0-1c5a9e7d2b46?X-Amz-Signature=…"
}
} Get my membership
/organizations/{organizationId}/members/me organizations.currentMember.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 calling user's membership in the organization: membership id, role(s) and the organization-level permissions they hold (post:create, workspace:update…). Call it to know in advance which operations will answer 403 MISSING_PERMISSION: a token never does more than its user, whatever its scopes. A workspace can grant more or fewer permissions than these.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · CurrentMemberResponse
dataobject · CurrentMemberrequired6fields
idstringrequiredThe membership id (an opaque string): the user as a member of this organization.rolestringrequiredThe legacy role derived from the member's roles (owner,admin,member,client… ornone).isOwnerbooleanrequiredThe owner holds every permission, above every role.roleIdsarray of stringrequiredIds of the member's roles (the implicit Everyone role left out).topPositionnumberrequiredPosition of the member's highest role: a member manages only members whose roles sit below it.permissionsarray of stringrequiredPermissions the member holds at the organization level (post:create,workspace:update…). A workspace can grant more or fewer. A token never exceeds these, whatever its scopes. New permissions may appear.One of (may gain values):organization:update,organization:delete,organization:administrator,member:create,member:update,member:delete,invitation:create,invitation:cancel,role:manage,workspace:create,workspace:update,workspace:delete,workspace:viewAll,account:create,account:delete,media:read,media:create,media:update,media:delete,media:review,media:skipReview,media:rawFootageUpload,media:rawFootageManage,clips:read,clips:import,clips:edit,clips:delete,post:create,post:update,post:delete,post:publish,post:schedule,post:unschedule,post:review,kanbanColumn:create,kanbanColumn:update,kanbanColumn:delete,comment:create,comment:update,comment:delete,inbox:read,inbox:reply,inbox:moderate,inbox:assign,inbox:messages,creatorPage:update,creatorPage:publish,creatorPage:inquiries,creatorPage:subscribers,goLive:read,goLive:manage,deals:read,deals:manage,deals:finances,deals:originalFiles,companies:manage,billing:update,integration:manage,app:manage
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
An admin
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/me" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/me", {
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/members/me",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"id": "Mb7fQ2kLx9TzR4nW0aSdE",
"role": "admin",
"isOwner": false,
"roleIds": [
"0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41"
],
"topPosition": 3,
"permissions": [
"post:create",
"post:update",
"post:schedule",
"workspace:update"
]
}
} Get the scheduling quota
/organizations/{organizationId}/scheduled-post-quota organizations.scheduledPostQuota.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 how many posts the organization's plan lets it schedule per calendar month (UTC) and how many count this month: every scheduled post plus the ones published this month. Once used >= limit, scheduling or publishing a post that isn't scheduled yet answers 402 SCHEDULED_POST_LIMIT_REACHED. limit is null when the plan has no limit. Any member can read it.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · ScheduledPostQuotaResponse
dataobjectrequired2fields
limitnumberrequirednullablePosts the plan lets the organization schedule per calendar month;null= unlimited.usednumberrequiredPosts counting this month (UTC): every scheduled post plus the ones published this calendar month. Scheduling or publishing onceused >= limitanswers402 SCHEDULED_POST_LIMIT_REACHED.
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
Twelve of fifty used
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/scheduled-post-quota" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/scheduled-post-quota", {
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/scheduled-post-quota",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"limit": 50,
"used": 12
}
} Get the organization's usage
/organizations/{organizationId}/usage organizations.usage.get - Scope
- organization:read
- Role permission
- Manage billing (
billing:update) - Effect
- Changes nothing.
- Stability
- Beta. May still change before it is marked stable. Since 2026-11-19.
Returns what the organization uses against its plan this cycle: workspaces, storage (bytes), posts counting toward this month's scheduling quota and, for an organization that used Clips, Clips seconds. Every limit includes add-ons; null means unlimited. Only members who manage billing can read it (the billing page's meters); GET …/scheduled-post-quota is the one any member can read.
Every number is organization-wide, whichever workspaces the token was given: they are the plan's meters (a caller creating a workspace needs the true allowance). The answer names no workspace.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
organizationId required | path | string | 1–128 characters |
Responses
200 OK
object · OrganizationUsageResponse
dataobject · OrganizationUsagerequired4fields
workspacesobjectrequiredWorkspaces created, against the plan's allowance (add-ons included;limitnull= unlimited).2fields
usednumberrequiredlimitnumberrequirednullable
storageobjectrequiredBytes taken by media, Paper files and raw footage of every workspace, against the plan's (null= unlimited).2fields
usedBytesnumberrequiredlimitBytesnumberrequirednullable
scheduledPostsobjectrequiredPosts counting toward this calendar month's scheduling quota (UTC): every scheduled post plus the ones published this month.limitnull= unlimited.2fields
usednumberrequiredlimitnumberrequirednullable
clipSecondsobject · ClipSecondsSummaryoptional4fields
usedintegerrequiredat least 0heldintegerrequiredat least 0availableintegerrequiredat least 0resetsAtstring (date-time)requirednullable
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
A plan with three workspaces and 50 scheduled posts a month
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/usage" \
-H "Authorization: Bearer beplan_pat_…" const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/usage", {
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/usage",
headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"] Response 200
{
"data": {
"workspaces": {
"used": 2,
"limit": 3
},
"storage": {
"usedBytes": 734003200,
"limitBytes": 10737418240
},
"scheduledPosts": {
"used": 12,
"limit": 50
}
}
}