Skip to main content
Source: equa-server/modules/api/src/endpoints/organization-endpoints.ts

Organization Endpoints

Endpoints for creating and managing organizations, members, roles, addresses, emails, branches, authorizations, and tasks. All organization endpoints require authentication. Most require specific RBAC permissions scoped to the organization.

Organizations

Create Organization

Create a new organization. The authenticated user becomes the owner. Request:

List User Organizations

List all organizations the authenticated user belongs to.

Get Organization

Get details for a specific organization.

Update Organization

Update organization settings.

Get Organization Dashboard

Get summary statistics for the organization dashboard.

Get User Permissions

Get the permissions a specific user has within an organization.

Members

List Members

List all members of an organization.

Get Member

Get details for a specific member.

Add Member

Add a new member to the organization.

Invite Members

Send email invitations to one or more people to join the organization. Request:

Update Member

Update a member’s details or role.

Remove Member

Remove a member from the organization by member ID.

Remove Member by User

Remove a member from the organization by user ID.

Get Member Limit

Get the member limit for the organization based on the current subscription plan.

Get Entity Members

Get members associated with a specific entity.

Roles

Create Role


List Roles


Get Role


Update Role


Delete Role


Assign Role to Member


Authorizations

List Authorizations


Create Authorization


Delete Authorization


Branches

Create/Update Branch


Get Branch


List Branches


Addresses

Create Address


Update Address


Delete Address


List Addresses


Get Address


Emails

Create Email

Also syncs billing email addresses with Chargify.

Update Email


Delete Email


Batch Create Emails

Create multiple email records in a single request.

List Emails


Get Email


Tasks

Update Task


Get Tasks


Files

Upload Organization Document

Upload a file to the organization. Uses multipart/form-data. Max file size is configurable via AWS_S3_UPLOAD_SIZE_LIMIT_MB (default 10 MB).

Download File

Download a file as an attachment.

View File Inline

View a file inline in the browser (Content-Disposition: inline).

Support

Contact Support

Send a support email from the authenticated user.