curl --request GET \
--url https://api.avidoai.com/v0/auth/organizations{
"data": [
{
"id": "<string>",
"name": "<string>",
"allowDomainAutoJoin": true,
"domain": "<string>",
"slug": "<string>",
"logo": "<string>"
}
]
}Returns the organisations the authenticated user belongs to. Called in-process via auth.api.listOrganizations so server-to-server requests are not subject to Better Auth’s Origin-header CSRF check. Cookie-authenticated: NOT part of the public API key / application-id contract.
curl --request GET \
--url https://api.avidoai.com/v0/auth/organizations{
"data": [
{
"id": "<string>",
"name": "<string>",
"allowDomainAutoJoin": true,
"domain": "<string>",
"slug": "<string>",
"logo": "<string>"
}
]
}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).
Show child attributes