Get list of organizations for application filtering.
Special value: If there are applications without an assigned organization, the response includes
a special "No organization" entry as the first item with id: "null" and type: "unassigned".
Use this value (no_org) to filter applications that have no organization assigned.
Only returns organizations that have at least one application assigned - organizations without applications are excluded (except for the special "No organization" entry).
GET
/filters/applications/organizations
curl \
--request GET 'https://collect.your-domain.com/api/filters/applications/organizations' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"code": 200,
"data": [
{
"id": "no_org",
"name": "No organization",
"type": "unassigned",
"logto_id": "no_org",
"description": ""
},
{
"id": "8b04e253-d408-4218-a30e-b048196847e5",
"name": "Acme Corp",
"type": "customer",
"logto_id": "fso3biosnaqp",
"description": ""
},
{
"id": "83d2f8c3-31be-4878-891e-98f2a363e683",
"name": "TechStart Inc",
"type": "reseller",
"logto_id": "akkbs6x2wo82",
"description": ""
}
],
"message": "organizations retrieved successfully"
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (403)
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}