List Orgs
GET
/api/superadmin/orgs
const url = 'https://example.com/api/superadmin/orgs?limit=50&offset=0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/superadmin/orgs?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Paginated list of all organizations.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
OrgListResponse
object
organizations
required
total
required
Total
integer
Example
{ "organizations": [ { "status": "active", "member_count": 0, "deal_count": 0 } ]}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}