Skip to main content
GET
List organizations

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetResellerId
string
required

Reseller Id to list organizations in

pagination
boolean

Set to true to page through the full list. Omit for an unpaginated response, which can be limited to 100 child records.

page
number

Page number to fetch (0-based)

pageSize
number

How many orgs per page

active
boolean

Whether to return only organizations with this given active state

targetAccountId
integer

Select an account the requester is authorized to access. Omit to use the authenticated account. This parameter does not grant additional privileges.

Response

200 - application/json

Organizations retrieved. Pagination adds totalAccounts, pageNumber, and pageSize. Use (pageNumber + 1) * pageSize >= totalAccounts to identify the last page.

success
enum<boolean>
required
Available options:
true
message
string
required
accounts
object[]
required
totalAccounts
integer

Total used for pagination. This can include records excluded by the active filter. An organization added to each agent page is excluded from this count.

pageNumber
integer

Zero-based page index when pagination metadata is returned.

pageSize
integer

Requested page size. Defaults to 20.