Skip to main content
GET
/
v0
/
auth
/
organizations
List organizations for current session
curl --request GET \
  --url https://api.avidoai.com/v0/auth/organizations
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "allowDomainAutoJoin": true,
      "domain": "<string>",
      "slug": "<string>",
      "logo": "<string>"
    }
  ]
}

Response

Successfully retrieved organizations

List of organisations the authenticated user belongs to. Served in-process via auth.api.listOrganizations to avoid Better Auth's Origin CSRF check on the HTTP endpoint (APP-2483).

data
Organization · object[]
required