auth
2 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
Minimal org context for the MCP org.current tool#
GET
/auth/mcp/org-contextTokenReturns only { organization: { id, slug, name }, role, modules[] } for the caller's active organization. No billing, license, or member-list fields. Organization is resolved from the authenticated request context.
Antworten
- 200Minimal org context
- 401Not authenticated
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/auth/mcp/org-context" \
-H "Authorization: Bearer $XISUITE_TOKEN"Whitelisted org-membership list for the MCP org.list tool#
GET
/auth/mcp/org-membershipsTokenReturns { data: [{ id, slug, name, role }] } for every active organization the caller belongs to. Deactivated orgs are dropped. No billing/license/member fields. Memberships come from the authenticated request context, never a param.
Antworten
- 200Whitelisted org-membership list
- 401Not authenticated
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/auth/mcp/org-memberships" \
-H "Authorization: Bearer $XISUITE_TOKEN"