# Organizations API reference

Base URL `https://api.beplan.io/v1`. Every operation is listed with its scope, permission, inputs, answers, errors and an example. Conventions: https://beplan.io/docs/api.md. OpenAPI document: https://beplan.io/docs/api/openapi.json.

## Get an organization

`GET /organizations/{organizationId}` · operationId `organizations.get`

- Scope: `organization:read`
- Role permission: Any member who can see it
- Effect (`read`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required, OrganizationDetails)
  - `id` (string, required): The organization's id: an opaque string (not a UUID), the one in the URL.
  - `name` (string, required)
  - `slug` (string, required): Derived from the name (lowercase, dashes); changes when the organization is renamed.
  - `logoUrl` (string, required, nullable): Signed, short-lived URL of the logo image (read the organization again for a fresh one); `null` without a logo.
  - `hasLogo` (boolean, required)
  - `createdAt` (string, required): When the organization was created, ISO 8601 in UTC.
  - `memberCount` (number, required): How many people are members, the owner included.
  - `myRole` (string, required): The calling user's legacy role here (`owner`, `admin`, `member`, `client`…; several are comma-separated). `GET …/members/me` gives the exact permissions.
  - `canDelete` (boolean, required): Whether the calling user could delete the organization in the Beplan app now.
  - `deleteBlockedReason` (string, required, nullable): one of `has_members`, `active_subscription` (may gain values).
  - `canLeave` (boolean, required): Whether the calling user could leave the organization in the Beplan app now.

**Errors**

| Status | Code | Message |
|---|---|---|
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: An organization seen by its owner**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "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

`PATCH /organizations/{organizationId}` · operationId `organizations.update`

- Scope: `organization:write`
- Role permission: Manage the organization (`organization:update`)
- Effect (`write`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `name` (string, required): 1–100 characters.

**200 OK**

- `data` (object, required, OrganizationDetails)
  - `id` (string, required): The organization's id: an opaque string (not a UUID), the one in the URL.
  - `name` (string, required)
  - `slug` (string, required): Derived from the name (lowercase, dashes); changes when the organization is renamed.
  - `logoUrl` (string, required, nullable): Signed, short-lived URL of the logo image (read the organization again for a fresh one); `null` without a logo.
  - `hasLogo` (boolean, required)
  - `createdAt` (string, required): When the organization was created, ISO 8601 in UTC.
  - `memberCount` (number, required): How many people are members, the owner included.
  - `myRole` (string, required): The calling user's legacy role here (`owner`, `admin`, `member`, `client`…; several are comma-separated). `GET …/members/me` gives the exact permissions.
  - `canDelete` (boolean, required): Whether the calling user could delete the organization in the Beplan app now.
  - `deleteBlockedReason` (string, required, nullable): one of `has_members`, `active_subscription` (may gain values).
  - `canLeave` (boolean, required): Whether the calling user could leave the organization in the Beplan app now.

**Errors**

| 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. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A new name**

```bash
curl -X PATCH "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Northwind Studio"
}'
```

Answers 200:

```json
{
  "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

`PUT /organizations/{organizationId}/logo` · operationId `organizations.logo.set`

- Scope: `organization:write`
- Role permission: Manage the organization (`organization:update`)
- Effect (`write`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `uploadId` (string, required): 1–200 characters.

**200 OK**

- `data` (object, required, OrganizationDetails)
  - `id` (string, required): The organization's id: an opaque string (not a UUID), the one in the URL.
  - `name` (string, required)
  - `slug` (string, required): Derived from the name (lowercase, dashes); changes when the organization is renamed.
  - `logoUrl` (string, required, nullable): Signed, short-lived URL of the logo image (read the organization again for a fresh one); `null` without a logo.
  - `hasLogo` (boolean, required)
  - `createdAt` (string, required): When the organization was created, ISO 8601 in UTC.
  - `memberCount` (number, required): How many people are members, the owner included.
  - `myRole` (string, required): The calling user's legacy role here (`owner`, `admin`, `member`, `client`…; several are comma-separated). `GET …/members/me` gives the exact permissions.
  - `canDelete` (boolean, required): Whether the calling user could delete the organization in the Beplan app now.
  - `deleteBlockedReason` (string, required, nullable): one of `has_members`, `active_subscription` (may gain values).
  - `canLeave` (boolean, required): Whether the calling user could leave the organization in the Beplan app now.

**Errors**

| 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. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Confirm an upload**

```bash
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"
}'
```

Answers 200:

```json
{
  "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

`DELETE /organizations/{organizationId}/logo` · operationId `organizations.logo.remove`

- Scope: `organization:write`
- Role permission: Manage the organization (`organization:update`)
- Effect (`destructive`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required, OrganizationDetails)
  - `id` (string, required): The organization's id: an opaque string (not a UUID), the one in the URL.
  - `name` (string, required)
  - `slug` (string, required): Derived from the name (lowercase, dashes); changes when the organization is renamed.
  - `logoUrl` (string, required, nullable): Signed, short-lived URL of the logo image (read the organization again for a fresh one); `null` without a logo.
  - `hasLogo` (boolean, required)
  - `createdAt` (string, required): When the organization was created, ISO 8601 in UTC.
  - `memberCount` (number, required): How many people are members, the owner included.
  - `myRole` (string, required): The calling user's legacy role here (`owner`, `admin`, `member`, `client`…; several are comma-separated). `GET …/members/me` gives the exact permissions.
  - `canDelete` (boolean, required): Whether the calling user could delete the organization in the Beplan app now.
  - `deleteBlockedReason` (string, required, nullable): one of `has_members`, `active_subscription` (may gain values).
  - `canLeave` (boolean, required): Whether the calling user could leave the organization in the Beplan app now.

**Errors**

| 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. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: No logo any more**

```bash
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/logo" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "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

`POST /organizations/{organizationId}/logo/uploads` · operationId `organizations.logoUploads.create`

- Scope: `organization:write`
- Role permission: Manage the organization (`organization:update`)
- Effect (`write`): Changes data in Beplan.
- Idempotency: Single-flight: an `Idempotency-Key` only 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**Request body** (JSON, required)

- `mimeType` (string, required): one of `image/webp`, `image/jpeg`, `image/png`.
- `size` (integer, required): above 0 to 5242880.

**201 Created**

- `data` (object, required, AvatarUpload)
  - `uploadId` (string, required): The upload to confirm once the file is uploaded.
  - `url` (string, required): Signed storage URL, valid 10 minutes: send the file there in one `PUT` with the declared `Content-Type` and no `Authorization` header.

**Errors**

| 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. |

Also, like every operation: `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `INTEGRATION_SELECTION_TOO_NARROW` (403), `CONFLICT` (409), `IDEMPOTENCY_KEY_REUSED` (409), `PAYLOAD_TOO_LARGE` (413), `UNSUPPORTED_MEDIA_TYPE` (415), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A 120 KiB WebP**

```bash
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
}'
```

Answers 201:

```json
{
  "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

`GET /organizations/{organizationId}/members/me` · operationId `organizations.currentMember.get`

- Scope: `organization:read`
- Role permission: Any member who can see it
- Effect (`read`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required, CurrentMember)
  - `id` (string, required): The membership id (an opaque string): the user as a member of this organization.
  - `role` (string, required): The legacy role derived from the member's roles (`owner`, `admin`, `member`, `client`… or `none`).
  - `isOwner` (boolean, required): The owner holds every permission, above every role.
  - `roleIds` (array of string, required): Ids of the member's roles (the implicit Everyone role left out).
  - `topPosition` (number, required): Position of the member's highest role: a member manages only members whose roles sit below it.
  - `permissions` (array of string, required): Permissions 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 `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` (may gain values).

**Errors**

| Status | Code | Message |
|---|---|---|
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: An admin**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/me" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "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

`GET /organizations/{organizationId}/scheduled-post-quota` · operationId `organizations.scheduledPostQuota.get`

- Scope: `organization:read`
- Role permission: Any member who can see it
- Effect (`read`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required)
  - `limit` (number, required, nullable): Posts the plan lets the organization schedule per calendar month; `null` = unlimited.
  - `used` (number, required): Posts counting this month (UTC): every scheduled post plus the ones published this calendar month. Scheduling or publishing once `used >= limit` answers `402 SCHEDULED_POST_LIMIT_REACHED`.

**Errors**

| Status | Code | Message |
|---|---|---|
| 404 | `ORGANIZATION_NOT_FOUND` | This organization doesn't exist or you're not a member of it. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: Twelve of fifty used**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/scheduled-post-quota" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "limit": 50,
    "used": 12
  }
}
```


## Get the organization's usage

`GET /organizations/{organizationId}/usage` · operationId `organizations.usage.get`

- Scope: `organization:read`
- Role permission: Manage billing (`billing:update`)
- Effect (`read`): 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 | Required | Description |
|---|---|---|---|---|
| `organizationId` | path | string | yes | 1–128 characters |

**200 OK**

- `data` (object, required, OrganizationUsage)
  - `workspaces` (object, required): Workspaces created, against the plan's allowance (add-ons included; `limit` `null` = unlimited).
    - `used` (number, required)
    - `limit` (number, required, nullable)
  - `storage` (object, required): Bytes taken by media, Paper files and raw footage of every workspace, against the plan's (`null` = unlimited).
    - `usedBytes` (number, required)
    - `limitBytes` (number, required, nullable)
  - `scheduledPosts` (object, required): Posts counting toward this calendar month's scheduling quota (UTC): every scheduled post plus the ones published this month. `limit` `null` = unlimited.
    - `used` (number, required)
    - `limit` (number, required, nullable)
  - `clipSeconds` (object, optional, ClipSecondsSummary)
    - `used` (integer, required): at least 0.
    - `held` (integer, required): at least 0.
    - `available` (integer, required): at least 0.
    - `resetsAt` (string (date-time), required, nullable)

**Errors**

| 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. |

Also, like every operation: `VALIDATION_FAILED` (400), `APP_SUSPENDED` (401), `TOKEN_EXPIRED` (401), `TOKEN_REVOKED` (401), `UNAUTHENTICATED` (401), `INSUFFICIENT_SCOPE` (403), `INTEGRATION_BLOCKED_BY_ORGANIZATION` (403), `INTEGRATION_PENDING_APPROVAL` (403), `RATE_LIMITED` (429), `INTERNAL_ERROR` (500).

**Example: A plan with three workspaces and 50 scheduled posts a month**

```bash
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/usage" \
  -H "Authorization: Bearer beplan_pat_…"
```

Answers 200:

```json
{
  "data": {
    "workspaces": {
      "used": 2,
      "limit": 3
    },
    "storage": {
      "usedBytes": 734003200,
      "limitBytes": 10737418240
    },
    "scheduledPosts": {
      "used": 12,
      "limit": 50
    }
  }
}
```


---
HTML version: https://beplan.io/docs/api/organizations/
