Overview
The Organization Members API manages user memberships within organizations. Each member has a role (owner, admin, or member) that determines their permissions within the organization. All operations require authentication and are subject to role-based access control policies.Roles
Organization members can have one of three roles:owner- Full administrative access, can delete the organizationadmin- Can manage members, channels, and organization settingsmember- Standard user with access to organization channels
Create organization member
Adds a user to an organization. The authenticated user is automatically set as the member being created. Requires appropriate permissions to add members to the organization.The organization ID to add the member to.
Member role. One of:
"owner", "admin", "member".Optional nickname for the member within this organization.
ISO 8601 timestamp of when the member joined. Defaults to current time.
User ID of the person who invited this member.
Response
Transaction ID for optimistic UI updates.
Errors
OrganizationNotFoundError- Organization does not existUnauthorizedError- User lacks permissionInternalServerError- Unexpected server error
Update organization member
Updates an existing organization member’s role and settings. Only users with appropriate permissions can update organization members.Organization member ID to update.
New role:
"owner", "admin", or "member".New nickname.
Response
Returns the same structure as create organization member.Errors
OrganizationMemberNotFoundError- Organization member does not existUnauthorizedError- User lacks permissionInternalServerError- Unexpected server error
Update organization member metadata
Updates an organization member’s metadata, such as onboarding data. Used to store additional information like role preferences and use cases from onboarding flows.Organization member ID to update.
Metadata object containing custom fields.
Response
Returns the same structure as create organization member.Errors
OrganizationMemberNotFoundError- Organization member does not existUnauthorizedError- User lacks permissionInternalServerError- Unexpected server error
Delete organization member
Removes a user from an organization (soft delete). Only users with appropriate permissions can remove organization members.Organization member ID to delete.
Response
Transaction ID for optimistic UI updates.
Errors
OrganizationMemberNotFoundError- Organization member does not existUnauthorizedError- User lacks permissionInternalServerError- Unexpected server error
Related APIs
Organizations
Manage organizations and settings
Invitations
Send and manage organization invitations