Organization API
Settings
Get Settings
Update Settings
Members
List Members
Update Member Role
admin, member, viewer.
Remove Member
Invitations
List Invitations
Send Invitation
| Field | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Invitee email |
role | string | Yes | admin, member, or viewer |
message | string | No | Personal message |
Verify Invitation
Accept Invitation
{ "token": "INVITATION_TOKEN" }
Resend Invitation
Cancel Invitation
Branding
Update Branding
| Field | Type | Description |
|---|---|---|
primaryColor | string | Hex color (e.g., “#10B981”) |
logo | string | Logo URL or base64 |
companyName | string | Company name |
Upload Logo
multipart/form-data with file field. Max 2MB, images only.
Custom Domain
Set Domain
{ "domain": "prd.yourcompany.com" }
Verify Domain
Billing
Get Billing Info
Create Checkout
| Field | Type | Required | Description |
|---|---|---|---|
planId | string | Yes | Plan to subscribe to |
interval | string | Yes | monthly or annual |
Billing Portal
Admin Endpoints
Dashboard Stats
List Org Projects (Admin)
Usage Analytics
| Parameter | Type | Description |
|---|---|---|
userId | string | Filter by user |
projectId | string | Filter by project |
days | number | Lookback period (7, 30, 90) |
templateMetrics | boolean | Include template stats |
alerts | boolean | Include usage alerts |