Skip to navigation

List organizations

Returns the organization the credential is bound to, as a one-element array (or an empty array). Not paginated.

For a dashboard session whose organization has no TradeGuard record yet, the record is provisioned on first call. API keys never trigger provisioning and get [] in that case.

With a sandbox credential this returns the paired sandbox organization, provisioned from your production organization on first use. Sandbox and production organizations have different ids; using one environment’s id with the other environment’s key returns 404.

Requires scope organizations:read.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Response

The caller's organization
datalist of objectsOptional

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error