Skip to main content

List your organizations

GET 

/user/orgs

List the paginated details of your organizations.

Query Parameters​


    page integer<int32>

    The index of the page.

    Possible values: >= 1

    Default value: 1

    page-size integer<int32>

    The maximum size of the pages.

    Possible values: >= 1 and <= 50

    Default value: 20

    sort string

    The criteria used to sort the organizations.

    Possible values: [handle, createdAt]

    Default value: handle

    search string

    The term used to search the organizations by handle or alias.


    after any

    The term used to search organizations after or equal to the specified date.


    before any

    The term used to search organizations before or equal to the specified date.

Responses​

The requested page of the list of organizations

Headers

  • Page-Totalinteger

    The total number of pages available.

  • Page-Sizeinteger

    The selected maximum size of the pages.

  • Page-Currentinteger

    The index of the requested page.

  • Item-Totalinteger

    The total number of items.

Response Body

application/json
  • Array [


  • idstringrequired

    The UUID of the organization. Is unique.

    Format: string<uuid>
    Example: 00000000-0000-0000-0000-000000000000

    handlestringrequired

    The handle of the organization. Is unique.

    Format: string<handle>
    Example: org-a

    aliasstring | nullrequired

    The alias of the organization.

    Format: string,null<alias>
    Example: Org A

    membersintegerrequired

    The number of members of the organization.

    Format: integer<int32>
    Example: 10

    spacesintegerrequired

    The number of spaces of the organization.

    Format: integer<int32>
    Example: 10

    createdAtstringrequired

    The date and time when the organization was created.

    Format: string<date-time>
    Example: 2023-01-01T00:00:00.000000Z
  • ]

Example from Schema​

[
{
"id": "00000000-0000-0000-0000-000000000000",
"handle": "org-a",
"alias": "Org A",
"members": 10,
"spaces": 10,
"createdAt": "2023-01-01T00:00:00.000000Z"
}
]