Skip to main content
GET
FIXED · organisation Owner manages keys, transfer and closure. Admin can manage ordinary resources, billing and Activity. Member can read ordinary resources. NOT OFFERED → do this instead · organisation An Admin cannot manage another Admin or take ownership by editing a role. Use the Owner’s personal session and the ownership transfer workflow. YOU CAN CHANGE · organisation Invite a colleague with a permitted role. The recipient claims the invitation. SCOPE · organisation Use invitations to grant access to the same business resources. Review team activity under the relevant organisation. Read the compact AI rules Read the organisation selected by the authenticated credential. The result includes current permissions and identity fields, without a signing secret or balance.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
  • Use this context to render the current organisation and role.
  • An account API key and a personal session have different authority.

Authentication

Send Authorization: Bearer KEY_ID:KEY_SECRET for server-side organisation API-key authority, or a verified personal dashboard Bearer session. The shared API key has Owner authority for these methods; keep it server-side. A personal session is checked against current membership and MFA. Owner, Admin and Member personal sessions may read their own context. The service must have organisations enabled; otherwise these routes return 404. Personal invitation acceptance, leaving and ownership transfer are separate dashboard flows and are not API-key methods.

Request fields

No request body or query fields are required.

Response fields

200 OK returns the shape below. Nullable fields can be unknown or unset; do not turn null into zero or false.

Example request

Examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. Keep NIXFLEX_API_KEY in your private process environment. The cURL example uses Bash. Use approved owned fixtures and keep configuration responses private. Python shows sync usage; AsyncNixflex uses the same method with async with and await. Configure the existing MCP installation for the same account at https://api.nixflex.com.

Example response

Illustrative 200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.

Errors

Failures return an error object with code, message, doc_url and optional details. Each code links to the shared error catalog. Read the message and details before deciding whether to resend.

Retry and idempotency

This is a read-only request. Retry transient connection or server failures with bounded backoff; respect Retry-After for 429. Do not retry validation or ownership errors unchanged. A later read can return newer state.

Authorizations

Authorization
string
header
required

KEY_ID:KEY_SECRET from the owning account. Keep it server-side. A verified personal dashboard Bearer session may be used where the operation documents role-based access.

Response

OK

organisation_id
string<uuid>
required

UUID identifier.

key_id
string
required

Account key ID, not the secret.

name
string
required

Business name.

role
enum<string>
required

Current personal role. API-key authority is owner.

Available options:
owner,
admin,
member
user_id
string<uuid> | null
required

UUID identifier.

membership_version
integer | null
required

Personal membership version; null for an API key.

joined_at
string<date-time> | null
required

UTC timestamp.

is_active
boolean
required

The account is active.

dashboard_state
string
required

Active account state.

Allowed value: "active"
permissions
string[]
required

Role permission name.