Organization

Retrieve organization information

Retrieves information about your organization and its members. This includes the organization's name, date of creation, and details about each member, such as their name, email, roles, and more.

get/auth/organizations

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/auth/organizations
  • Auth: API key in header api_key

Response

Success

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Successfully retrieved organizations info",
  "organization": {
    "id": 6190,
    "name": "Example Organization",
    "users": [
      {
        "id": 9876,
        "sub": "5c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d",
        "email": "user@example.com",
        "username": "Jane Doe",
        "name": "Jane Doe",
        "role": "Owner",
        "last_login": "2026-05-06T14:32:11Z"
      }
    ],
    "created_at": "2026-05-07T09:21:55Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.