REACT_APP_ORGANIZATIONS_API_BASE_URL (default: https://api.makakoo.com/ma-metrics-wsp-ms/v1/api).
All requests require both Api-Key and Authorization: Bearer <token> headers.
List Organizations
Array of organization objects.
Create Organization
Must be
"organization".The name for the new organization.
200 OK with the created organization object.
Get Organization
The organization’s unique ID.
Comma-separated list of related resources to include. Supported values:
users, projects, organization_memberships.When
true, bypasses client-side caching. Cached data is considered stale after 5 minutes.The organization ID. Always validate that this matches the requested ID.
The organization name.
Permission map scoped to the authenticated user.
Related resources (users, projects, memberships) when
include is specified.Update Organization Name
The organization’s unique ID.
The new name for the organization.
200 OK with the updated organization object.
List Organization Members
The organization’s unique ID.
Add User to Organization
The organization’s unique ID.
Must be
"users".The email address of the user to add.
The role to assign. One of:
OWNER, ADMIN, MEMBER, VIEWER.Send Organization Invitation
The organization’s unique ID.
Must be
"membershipInvitation".The email address to invite.
The role to grant on acceptance. Defaults to
"member". Accepted values: "owner", "admin", "member", "viewer".If the invited user already has a platform account (HTTP
422 with redirect_to_add_member), the service automatically calls POST /organizations/{id}/add_user instead.List Organization Invitations
The organization’s unique ID.
Resend Organization Invitation
The organization’s unique ID.
The invitation ID to resend.
Cancel Organization Invitation
The organization’s unique ID.
The invitation ID to cancel.
Update Organization Invitation
The organization’s unique ID.
The invitation ID to update.
The new role. Accepted values:
"owner", "admin", "member", "viewer".Update Member Role
The organization’s unique ID.
The user’s unique ID.
The new role. One of:
OWNER, ADMIN, MEMBER, VIEWER.| Code | Description |
|---|---|
CANNOT_CHANGE_OWN_ROLE | Users cannot change their own role. |
INVALID_ROLE_TRANSITION | Cannot demote the last owner. Transfer ownership first. |
INSUFFICIENT_PERMISSIONS | Admins cannot promote users to the owner role. |
Remove Member from Organization
The organization’s unique ID.
The user’s unique ID.
Check Pending Invitations (Current User)
Accept Invitation
The invitation ID to accept.
Reject Invitation
The invitation ID to reject.
Global Credentials Hub
Organization-scoped endpoints for listing credentials across all projects.List Organization API Keys
List Organization LLM API Keys
List Organization Sentinel Passes
organizationId as a path parameter and return an array of the respective credential objects.