Start free
Docs · Members

API reference

Members

Read as Markdown

On this page
  1. List the members
  2. Remove a member
  3. Set a member's roles
  4. Set a member's teams

Base URL https://api.beplan.io/v1. Authentication, envelopes, pagination, idempotency and rate limits: conventions. OpenAPI document: openapi.json.

All 4 Members operations

List the members

GET /organizations/{organizationId}/members
Beta Reads only members.list
Scope
members:read
Role permission
Any of: See members (member:create), Manage members (member:update), Remove members (member:delete), Invite people (invitation:create), Cancel invitations (invitation:cancel)
Effect
Changes nothing.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Returns every member of the organization, oldest first: membership id (what the other member operations take), name, email address, picture, roles (highest first), teams and when they joined. Not paginated (an organization has at most a few hundred members). Only users who can manage members or invitations in the app can read it. It is personal data: keep it only as long as the integration needs it.

Role ids come from GET …/roles, team ids from GET …/teams. Invitations are not part of the API.

Parameters

Name In Type Description
organizationId required path string 1–128 characters

Responses

200 OK

object · ListOrganizationMembersResponse

  • dataarray of objectrequired
    10fields in each item
    • idstringrequired
      The membership id: an opaque string (not a UUID), the :memberId every member operation takes.
    • userIdstringrequired
      The person's user id (the same in every organization they belong to).
    • namestringrequired
    • emailstringrequired
      The person's sign-in email address. Through the public API it is given in full only to a token holding members:read; a token without it gets it masked (j***@acme.com), with image null.
    • imagestringrequirednullable
      URL of the person's picture (a signed one is valid one hour), null without one.
    • rolestringrequired
      A summary role derived from roles: owner, the highest built-in role whose permissions the member holds (admin, manager, member, media_editor, vod_scrubber, client), or none. roles is the truth.
    • isOwnerbooleanrequired
      The owner ranks above every role; nobody can change or remove them.
    • rolesarray of objectrequired
      The member's roles, highest first (the Everyone role is left out).
      4fields in each item
      • idstringrequired
        The role's id (a UUID).
      • namestringrequired
      • colorstringrequirednullable
        The role's color in the Beplan app, null for none.
        One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
      • positionnumberrequired
        Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
    • createdAtstringrequired
      When the person joined, ISO 8601 in UTC.
    • teamsarray of objectrequired
      The teams the member is in, by name.
      2fields in each item
      • idstringrequired
        The team's id (a UUID), as GET …/teams lists it.
      • namestringrequired

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

The owner and one member

curl
curl -X GET "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members", {
  method: "GET",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.get(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": [
    {
      "id": "Mb7fQ2kLx9TzR4nW0aSdE",
      "userId": "p2Hs8Kd4Jf6Lq1Wz9Xc3V",
      "name": "Jane Cooper",
      "email": "[email protected]",
      "image": null,
      "role": "owner",
      "isOwner": true,
      "roles": [],
      "createdAt": "2026-03-02T09:14:00.000Z",
      "teams": []
    },
    {
      "id": "Qe4hT8vN2sLw6KpZ1cXbR",
      "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
      "name": "Alex Rivera",
      "email": "[email protected]",
      "image": null,
      "role": "member",
      "isOwner": false,
      "roles": [
        {
          "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
          "name": "Member",
          "color": "blue",
          "position": 4
        }
      ],
      "createdAt": "2026-04-11T08:30:00.000Z",
      "teams": [
        {
          "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
          "name": "Editors"
        }
      ]
    }
  ]
}

Remove a member

DELETE /organizations/{organizationId}/members/{memberId}
Beta Deletes members.remove
Scope
members:write
Role permission
Remove members (member:delete)
Effect
Deletes data or cannot be undone.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Removes a person from the organization: they lose access to it at once (in the app and through their own tokens), and their team memberships go with them. What they made (posts, media, comments) stays. Bringing them back takes a new invitation, from the app. Answers 204.

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (403 MEMBER_NOT_MANAGEABLE; the owner ranks above everyone and can never be changed or removed), never on themselves (403 CANNOT_MANAGE_SELF). A token never does more than its user. To leave an organization, a person does it themselves in the app.

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
memberId required path string 1–128 characters

Responses

204 No content

No content.

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 403, 404, 429, 500.

Error codes

Status Code Message
403 CANNOT_MANAGE_SELF You can't change your own role or remove yourself. Leave the organization instead.
403 MEMBER_NOT_MANAGEABLE You can only manage members whose role is below yours.
403 MISSING_PERMISSION You don't have permission to do this.
404 MEMBER_NOT_FOUND This person isn't a member of the organization anymore.
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

Remove a member

curl
curl -X DELETE "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR" \
  -H "Authorization: Bearer beplan_pat_…"
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer beplan_pat_…",
  },
});
if (!response.ok) throw new Error((await response.json()).error.code);
Python
import requests

response = requests.delete(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR",
    headers={"Authorization": "Bearer beplan_pat_…"},
)
response.raise_for_status()

Answers 204 with no content.

Set a member's roles

PUT /organizations/{organizationId}/members/{memberId}/roles
Beta Changes data members.roles.set
Scope
members:write
Role permission
Manage members (member:update)
Effect
Changes data in Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Gives a member exactly these roles (replacing theirs; [] leaves them with Everyone only). Role ids come from GET …/roles; the Everyone role is implied and can't be listed (409 EVERYONE_ROLE_LOCKED). Every role added or removed must sit strictly below the calling user (403 ROLE_NOT_ASSIGNABLE), and a role added can only hold permissions the calling user has (403 PERMISSION_NOT_GRANTABLE). A role holding integration:manage, app:manage or organization:administrator can only be given or taken away in the Beplan app (403 PERMISSION_APP_ONLY). The member's access changes at once, in the app and for their own tokens.

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (403 MEMBER_NOT_MANAGEABLE; the owner ranks above everyone and can never be changed or removed), never on themselves (403 CANNOT_MANAGE_SELF). A token never does more than its user.

Answers with the member after the change. A token without members:read gets their email masked (j***@acme.com) and image null: the full address is what members:read is for.

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
memberId required path string 1–128 characters

Request body JSON, required

object · SetMemberRolesBody

  • roleIdsarray of string (uuid)required
    Every role the member should hold (replaces them; Everyone is implied and can't be listed).
    at most 100 items

Responses

200 OK

object · OrganizationMemberResponse

  • dataobject · OrganizationMemberrequired
    10fields
    • idstringrequired
      The membership id: an opaque string (not a UUID), the :memberId every member operation takes.
    • userIdstringrequired
      The person's user id (the same in every organization they belong to).
    • namestringrequired
    • emailstringrequired
      The person's sign-in email address. Through the public API it is given in full only to a token holding members:read; a token without it gets it masked (j***@acme.com), with image null.
    • imagestringrequirednullable
      URL of the person's picture (a signed one is valid one hour), null without one.
    • rolestringrequired
      A summary role derived from roles: owner, the highest built-in role whose permissions the member holds (admin, manager, member, media_editor, vod_scrubber, client), or none. roles is the truth.
    • isOwnerbooleanrequired
      The owner ranks above every role; nobody can change or remove them.
    • rolesarray of objectrequired
      The member's roles, highest first (the Everyone role is left out).
      4fields in each item
      • idstringrequired
        The role's id (a UUID).
      • namestringrequired
      • colorstringrequirednullable
        The role's color in the Beplan app, null for none.
        One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
      • positionnumberrequired
        Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
    • createdAtstringrequired
      When the person joined, ISO 8601 in UTC.
    • teamsarray of objectrequired
      The teams the member is in, by name.
      2fields in each item
      • idstringrequired
        The team's id (a UUID), as GET …/teams lists it.
      • namestringrequired

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 CANNOT_MANAGE_SELF You can't change your own role or remove yourself. Leave the organization instead.
403 MEMBER_NOT_MANAGEABLE You can only manage members whose role is below yours.
403 MISSING_PERMISSION You don't have permission to do this.
403 PERMISSION_APP_ONLY Access to integrations, developer apps and administrator rights can only be given or taken away in the Beplan app. Nothing was changed.
403 PERMISSION_NOT_GRANTABLE You can only give permissions you have yourself.
403 ROLE_NOT_ASSIGNABLE You can only give roles below your own. Ownership is transferred from the organization settings.
404 MEMBER_NOT_FOUND This person isn't a member of the organization anymore.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 ROLE_NOT_FOUND This role doesn't exist in this organization.
409 EVERYONE_ROLE_LOCKED Everyone can't be renamed, recolored, moved, given or deleted. You can change its permissions.
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

Make someone a Member

curl
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/roles" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "roleIds": [
    "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/roles", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "roleIds": [
      "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/roles",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "roleIds": [
            "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "Qe4hT8vN2sLw6KpZ1cXbR",
    "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
    "name": "Alex Rivera",
    "email": "[email protected]",
    "image": null,
    "role": "member",
    "isOwner": false,
    "roles": [
      {
        "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        "name": "Member",
        "color": "blue",
        "position": 4
      }
    ],
    "createdAt": "2026-04-11T08:30:00.000Z",
    "teams": [
      {
        "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
        "name": "Editors"
      }
    ]
  }
}

Set a member's teams

PUT /organizations/{organizationId}/members/{memberId}/teams
Beta Changes data members.teams.set
Scope
members:write
Role permission
Manage members (member:update)
Effect
Changes data in Beplan.
Stability
Beta. May still change before it is marked stable. Since 2026-11-20.

Puts a member in exactly these teams (replacing theirs; [] takes them out of every team). Teams decide which workspaces members below admin see: a member in no team sees no workspace. Team ids come from GET …/teams; an id that isn't a team of the organization answers 404 TEAM_NOT_FOUND and nothing changes. Needs the Team Collaboration add-on (402 PLAN_UPGRADE_REQUIRED).

The hierarchy of the app applies: the calling user can only act on a member ranked strictly below their own highest role (403 MEMBER_NOT_MANAGEABLE; the owner ranks above everyone and can never be changed or removed), never on themselves (403 CANNOT_MANAGE_SELF). A token never does more than its user.

Answers with the member after the change. A token without members:read gets their email masked (j***@acme.com) and image null: the full address is what members:read is for.

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
memberId required path string 1–128 characters

Request body JSON, required

object · SetMemberTeamsBody

  • teamIdsarray of string (uuid)required
    Every team the member should be in (replaces their teams; [] removes them from all).
    at most 200 items

Responses

200 OK

object · OrganizationMemberResponse

  • dataobject · OrganizationMemberrequired
    10fields
    • idstringrequired
      The membership id: an opaque string (not a UUID), the :memberId every member operation takes.
    • userIdstringrequired
      The person's user id (the same in every organization they belong to).
    • namestringrequired
    • emailstringrequired
      The person's sign-in email address. Through the public API it is given in full only to a token holding members:read; a token without it gets it masked (j***@acme.com), with image null.
    • imagestringrequirednullable
      URL of the person's picture (a signed one is valid one hour), null without one.
    • rolestringrequired
      A summary role derived from roles: owner, the highest built-in role whose permissions the member holds (admin, manager, member, media_editor, vod_scrubber, client), or none. roles is the truth.
    • isOwnerbooleanrequired
      The owner ranks above every role; nobody can change or remove them.
    • rolesarray of objectrequired
      The member's roles, highest first (the Everyone role is left out).
      4fields in each item
      • idstringrequired
        The role's id (a UUID).
      • namestringrequired
      • colorstringrequirednullable
        The role's color in the Beplan app, null for none.
        One of (may gain values): red, orange, amber, lime, green, teal, cyan, blue, indigo, violet, pink, slate
      • positionnumberrequired
        Rank: a higher number sits above. Everyone is 0. A member can only manage roles and members ranked strictly below their own highest role (the owner manages everything).
    • createdAtstringrequired
      When the person joined, ISO 8601 in UTC.
    • teamsarray of objectrequired
      The teams the member is in, by name.
      2fields in each item
      • idstringrequired
        The team's id (a UUID), as GET …/teams lists it.
      • namestringrequired

Errors answer { error: { code, message, details, requestId } } with status 400, 401, 402, 403, 404, 413, 415, 429, 500.

Error codes

Status Code Message
400 VALIDATION_FAILED Some of the information sent is invalid.
402 PLAN_UPGRADE_REQUIRED Your current plan doesn't include this feature.
403 CANNOT_MANAGE_SELF You can't change your own role or remove yourself. Leave the organization instead.
403 MEMBER_NOT_MANAGEABLE You can only manage members whose role is below yours.
403 MISSING_PERMISSION You don't have permission to do this.
404 MEMBER_NOT_FOUND This person isn't a member of the organization anymore.
404 ORGANIZATION_NOT_FOUND This organization doesn't exist or you're not a member of it.
404 TEAM_NOT_FOUND This team doesn't exist in this organization.
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

Put someone in the Editors team

curl
curl -X PUT "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/teams" \
  -H "Authorization: Bearer beplan_pat_…" \
  -H "Content-Type: application/json" \
  -d '{
  "teamIds": [
    "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35"
  ]
}'
TypeScript
const response = await fetch("https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/teams", {
  method: "PUT",
  headers: {
    Authorization: "Bearer beplan_pat_…",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "teamIds": [
      "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35"
    ]
  }),
});
if (!response.ok) throw new Error((await response.json()).error.code);
const { data } = await response.json();
Python
import requests

response = requests.put(
    "https://api.beplan.io/v1/organizations/Yx0k2N7mQf3bA9cRz1LwP/members/Qe4hT8vN2sLw6KpZ1cXbR/teams",
    headers={"Authorization": "Bearer beplan_pat_…"},
    json={
        "teamIds": [
            "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
        ],
    },
)
response.raise_for_status()
data = response.json()["data"]
Response 200
{
  "data": {
    "id": "Qe4hT8vN2sLw6KpZ1cXbR",
    "userId": "u9Lk3Qw7Rt2Xc5Vb8Nm1A",
    "name": "Alex Rivera",
    "email": "[email protected]",
    "image": null,
    "role": "member",
    "isOwner": false,
    "roles": [
      {
        "id": "0d7c5c8e-3f0e-4c7a-9a8e-5d1f6b2a9c41",
        "name": "Member",
        "color": "blue",
        "position": 4
      }
    ],
    "createdAt": "2026-04-11T08:30:00.000Z",
    "teams": [
      {
        "id": "7a3e9c21-5b8d-4f60-9e2a-1c4d7b8f0e35",
        "name": "Editors"
      }
    ]
  }
}