AppScan
Browse all 61 articles
API

Organizations and team

The organization, its members and invitations, notification settings and the AI usage summary.

MethodPathNeedsReturns
GET/organizationsauthenticatedthe organizations you belong to
GET/organizations/currentorganization.readorganization, your role, entitlements
GET/organizations/current/membersorganization.read{ items: [{ userId, email, role, joinedAt, isYou }] }
PATCH/organizations/current/members/:userIdmembers.manage{ role }, never above your own
DELETE/organizations/current/members/:userIdmembers.manage204; the last owner cannot go
POST/organizations/current/members/leaveorganization.read204
GET/organizations/current/invitationsmembers.managePENDING, ACCEPTED, REVOKED, EXPIRED
POST/organizations/current/invitationsmembers.manage201 { email, role }; seats are members plus pending
DELETE/organizations/current/invitations/:idmembers.manage204, revoke
GET/invitations/preview?token=public{ organizationName, role, emailHint, status, expiresAt }
POST/invitations/acceptauthenticated{ token }; the signed-in email must match
GET/organizations/current/notificationsorganization.readinstantEmail, digestFrequency, slackWebhook (masked)
PATCH/organizations/current/notificationsorganization.manageany of the three; the webhook must be https
POST/organizations/current/notifications/testorganization.manageposts a test message → { ok, error }
GET/organizations/current/ai-usageorganization.readprovider, window, limits, reserved and settled per site

Something here wrong, missing or out of date? Tell us and we will fix the page.