curl --request GET \
--url "https://api.nixflex.com/v1/organisation/members" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.organisation.members();
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.organisation.members()
nixflex organisation members --json --base-url "https://api.nixflex.com"
{
"name": "list_organisation_members",
"arguments": {}
}
{
"members": [],
"invites": [],
"limits": {
"members": 50,
"invites_per_day": 20,
"invites_used_today": 0,
"seats_used": 0
}
}
Organisation
List organisation members
List Nixflex organisation members, up to 100 pending or expired invitations, and current safety limits. Review role permissions before changes.
GET
/
organisation
/
members
curl --request GET \
--url "https://api.nixflex.com/v1/organisation/members" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.organisation.members();
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.organisation.members()
nixflex organisation members --json --base-url "https://api.nixflex.com"
{
"name": "list_organisation_members",
"arguments": {}
}
{
"members": [],
"invites": [],
"limits": {
"members": 50,
"invites_per_day": 20,
"invites_used_today": 0,
"seats_used": 0
}
}
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 active members, up to 100 pending or expired invitations, and current safety limits. The Owner and Admin can view the team; Members cannot.
Method: GET ·
Success: 200 ·
Scope: Owning account
The important part
- Use member IDs from this organisation for later actions.
- Do not expose private membership data in public pages or logs.
Authentication
SendAuthorization: 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 and Admin personal sessions are allowed. Members are refused. 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.
| Field | Type | Meaning |
|---|---|---|
members | array of object | Active members, ordered by join time. |
members[].user_id | string | UUID identifier. Format: uuid. |
members[].email | string | Member email. |
members[].name | string | Display name; may be empty. |
members[].role | string | Current personal role. API-key authority is owner. Allowed: "owner", "admin", "member". |
members[].joined_at | string | UTC timestamp. Format: date-time. |
members[].last_active_at | string or null | UTC timestamp. Format: date-time. |
invites | array of object | Up to 100 rows, newest first; no cursor. Maximum 100 items. |
invites[].id | string | UUID identifier. Format: uuid. |
invites[].email | string | Invited email. |
invites[].role | string | Current personal role. API-key authority is owner. Allowed: "owner", "admin", "member". |
invites[].state | string | Pending rows whose expiry passed are displayed as expired. Allowed: "pending", "expired". |
invites[].delivery | string | Delivery status. Allowed: "pending", "sent", "failed", "unknown". |
invites[].expires_at | string | UTC timestamp. Format: date-time. |
limits | object | Saved value. |
limits.members | integer | Maximum active members plus unexpired pending invitations. |
limits.invites_per_day | integer | Daily invitation limit. |
limits.invites_used_today | integer | Invitations used today in UTC. |
limits.seats_used | integer | Active members plus unexpired pending invitations. |
Example request
Examples require Node/CLI 0.11.0 or later, Python 0.4.0 or later and MCP 0.5.0 or later. KeepNIXFLEX_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.
curl --request GET \
--url "https://api.nixflex.com/v1/organisation/members" \
--header "Authorization: Bearer $NIXFLEX_API_KEY"
import Nixflex from 'nixflex';
const c = new Nixflex({apiKey:process.env.NIXFLEX_API_KEY,baseUrl:'https://api.nixflex.com',maxRetries:0});
const result = await c.organisation.members();
// Keep private responses out of logs and AI conversations.
import os
from nixflex import Nixflex
with Nixflex(api_key=os.environ["NIXFLEX_API_KEY"], base_url="https://api.nixflex.com", max_retries=0) as c:
result = c.organisation.members()
nixflex organisation members --json --base-url "https://api.nixflex.com"
{
"name": "list_organisation_members",
"arguments": {}
}
Example response
Illustrative200 response. Identifiers and values are examples; some optional or compatibility fields are omitted.
{
"members": [],
"invites": [],
"limits": {
"members": 50,
"invites_per_day": 20,
"invites_used_today": 0,
"seats_used": 0
}
}
Errors
Failures return anerror 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.
| Status | Code | Meaning | What to do |
|---|---|---|---|
| 404 | not_found | Organisation routes are not enabled on this service. | Check deployment availability; do not retry unchanged. |
| 503 | organisation_unavailable | The organisation action could not be confirmed. | Refresh the current state before trying again. |
| 403 | permission_denied | The current personal role does not allow this action. | Use an authorised personal session; do not share the organisation key. |
| 403 | membership_revoked | The personal membership has ended. | Sign in again or contact the Owner. |
| 401 | invalid_token | The personal session is invalid or expired. | Sign in with your own login again. |
| 503 | auth_unavailable | The personal session could not be verified. | Retry the read later; reconcile uncertain changes. |
| 401 | unauthorized | The credential is missing or invalid. | Check the full account credential. |
| 429 | rate_limit_exceeded | The account request limit was reached. | Wait for Retry-After. Reconcile uncertain writes before resending. |