organizations

List Organizations

Changed on

List organizations and teams accessible to the API key owner (cursor-paginated).

Returns at most limit organizations per page (default 20, cap 100). total is the true membership count; iterate next_cursor while has_more is true.

get/organizations

Request

  • Base URL
    https://api.moda.app/v1
  • URL
    https://api.moda.app/v1/organizations
  • Auth
    HTTP bearer

Query parameters

cursorstring nullable

Opaque pagination cursor. Pass the next_cursor from the previous response. Omit on the first request.

limitinteger

Max organizations per page. Defaults to 20, caps at 100.

Headers

Moda-Version'2026-04-12' | '2026-05-01'
Example:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Response

Successful Response

next_cursorstring nullable

Opaque cursor to pass as ?cursor= on the next request. null means you've reached the end of the collection.

returnedinteger

Number of items in this page (always len(data); derived server-side).

has_moreboolean

true when more items exist beyond this page — keep requesting with next_cursor until this is false. Never trust len(data) < limit alone.

limitinteger nullable

The effective page-size limit this response was computed with.

totalinteger nullable

True total number of items in the collection (after filters), when the endpoint can count cheaply. null on log/search lanes — use has_more there.

Example response

{
  "data": [
    {
      "teams": [
        {
          "id": "team_01HT9WK8N3M2J4A5Z6P7Q8R9TV"
        }
      ]
    }
  ]
}

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status