Organization

Get Organization List

This API retrieves the list of organizations along with their basic information, such as organization name and the organization they belong to.

Endpoint: GET /organizations

Parameters:

Example Request:

GET /organizations?offset=0&limit=10

Example Response:

[
    {
      "id": 1,
      "name": "Organization 1",
      "belongs_to": 0
    },
    {
      "id": 2,
      "name": "Organization 2",
      "belongs_to": 1
    }
]

Response Fields:


Get Organization Details

This API retrieves the details of a specific organization by organization ID, including organization name and the organization it belongs to.

Endpoint: GET /organizations/:organization_id

Path Parameters:

Example Request:

GET /organizations/1

Example Response:

{
  "id": 1,
  "name": "Organization 1",
  "belongs_to": 0
}

Response Fields: