curl --request POST \ --url https://api.turnkey.com/public/v1/query/list_suborgs \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --header "X-Stamp: <YOUR_API_KEY.YOUR_API_SECRET>" \ --data '{ "organizationId": "<string>", "filterType": "<string>", "filterValue": "<string>", "paginationOptions": { "limit": "<string>", "before": "<string>", "after": "<string>" } }'
{ "activity": { "id": "<activity-id>", "status": "ACTIVITY_STATUS_COMPLETED", "type": "ACTIVITY_TYPE_UNKNOWN_V1", "organizationId": "<organization-id>", "timestampMs": "<timestamp> (e.g., 1745474677463)", "result": { "organizationIds": [ "<string_element>" ] } } }
Get all suborg IDs associated given a parent org ID and an optional filter.
paginationOptions field
Show details
Show organizationIds details
Was this page helpful?