- Docs
- Api%2Freference%2Forganizations%2FListOrganizations
List organizations
Every organization the signed-in person belongs to — the list behind an organization picker. Unlike most endpoints, this is not limited to the one they are working in right now; that is the point of it. Each entry comes back with its members and roles, so a picker can show who else is there and what the person can do. Requires the `organizations.read` permission.
The access token returned after a successful sign-in, sent as
Authorization: Bearer <access_token>.
It identifies the person and the organization they are working in, and
it lasts about fifteen minutes. When it runs out, use their refresh
token at POST /auth/refresh-token instead of asking them to sign in
again.
In: header
Query Parameters
Return only the resource with this identifier. Equivalent to fetching it by path, but usable together with the other list filters.
Return only resources whose name matches this value exactly.
length <= 255Search the endpoint's supported text and identifier fields. Matching may be an exact identifier lookup or a case-insensitive prefix search, depending on the resource. Alphanumeric characters only.
How many items to return in one page. The default and the maximum are both
25; a larger value is rejected with 400.
25int641 <= value <= 25Cursor for the next page, taken verbatim from the next field of the previous
response. Keep every other query parameter the same between pages: sortBy
and order are part of what the cursor means. An absent or empty next in a
response means there are no more pages.
The value is opaque. Do not parse it or build one yourself.
Sort direction. Defaults to desc, newest first.
"desc""asc" | "desc"Field used to sort the result. Supported fields depend on the endpoint; use
when_created for chronological ordering where it is available. The default
is the resource identifier, and identifiers break ties so cursor paging stays
stable.
Return only organizations where this person holds the named role — for example only the ones they own.
For Dual staff only. Everyone else sees their own memberships whatever this says.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.dual.network/organizations"{
"organizations": [
{
"id": "665f1c2d4b1a2c3d4e5f6aa0",
"name": "Northside Events",
"fqdn": "tickets.northside.example",
"owner_id": "665f1c2d4b1a2c3d4e5f6a01",
"when_created": "2026-02-01T09:00:00Z",
"when_modified": "2026-03-05T15:12:00Z"
},
{
"id": "665f1c2d4b1a2c3d4e5f6ab9",
"name": "Harbour Museum",
"fqdn": "passes.harbour.example",
"owner_id": "665f1c2d4b1a2c3d4e5f6a02",
"when_created": "2026-01-11T11:00:00Z",
"when_modified": "2026-01-11T11:00:00Z"
}
]
}{
"code": 3,
"message": "Key: 'limit' Error:Field validation for 'limit' failed on the 'lte' tag"
}{
"code": 16,
"message": "no auth provided"
}{
"code": 13,
"message": "internal error"
}