robosystems-ai Org Members API
👥 Organization members - Manage team members, roles, and permissions
👥 Organization members - Manage team members, roles, and permissions
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/robosystems-ai:robosystems-ai-org-members-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: RoboSystems Org Members API
description: 'The REST and GraphQL API for RoboSystems — an open-source, AI-native platform for accounting, financial reporting and investment management. It powers RoboLedger and RoboInvestor.
## Two surfaces
**Platform** — `/v1/…` — graphs, queries, schema, documents, search, memory, connections, billing and access. Reads are REST `GET`s; every write is a named operation at `/operations/{name}` returning an `OperationEnvelope`, accepting an `Idempotency-Key`, and streaming progress at `/v1/operations/{id}/stream`.
→ API reference
**Extensions** — `/extensions/…` — RoboLedger and RoboInvestor, scoped by `graph_id` in the URL. Reads are GraphQL at `POST /extensions/{graph_id}/graphql` and change nothing; writes are named operations at `/extensions/{domain}/{graph_id}/operations/{name}`; analytical views read the materialized graph.
→ Extensions reference · every GraphQL query
## Authenticating
`X-API-Key: rfs…` on REST, GraphQL and per-graph MCP. Browser sessions use JWTs from `POST /v1/auth/login`. The graph-agnostic MCP endpoint `/v1/mcp` takes OAuth 2.1 bearer tokens only.
## Connecting an AI client
Every graph is an MCP server at `POST /v1/graphs/{graph_id}/mcp`, and `POST /v1/mcp` serves OAuth clients that pick their graph at consent.
→ MCP guide
## Clients
`robosystems-client` for Python, `@robosystems/client` for TypeScript.
→ Guides · Technical docs'
version: 1.20.6
tags:
- name: Org Members
description: 👥 Organization members - Manage team members, roles, and permissions
paths:
/v1/orgs/{org_id}/members:
get:
tags:
- Org Members
summary: List Organization Members
operationId: listOrgMembers
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgMemberListResponse'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/orgs/{org_id}/members/{user_id}:
put:
tags:
- Org Members
summary: Update Member Role
description: Requires admin or owner role. Owner promotion/demotion requires a dedicated ownership transfer workflow.
operationId: updateOrgMemberRole
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateMemberRoleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgMemberResponse'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Org Members
summary: Remove Member
description: Requires admin or owner role. Members may remove themselves.
operationId: removeOrgMember
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: user_id
in: path
required: true
schema:
type: string
title: User Id
responses:
'204':
description: Successful Response
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/orgs/{org_id}/invitations:
post:
tags:
- Org Members
summary: Invite Member
description: Invite a new user to the organization by email. Disabled by default (ORG_MEMBER_INVITATIONS_ENABLED=false); returns 501 when disabled. Requires admin or owner role. Only emails without an existing account can be invited.
operationId: createOrgInvitation
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateInvitationRequest'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgInvitationResponse'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: Email already registered or invited
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'501':
description: Feature not enabled
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
get:
tags:
- Org Members
summary: List Pending Invitations
description: Requires admin or owner role.
operationId: listOrgInvitations
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgInvitationListResponse'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/orgs/{org_id}/invitations/{invitation_id}:
delete:
tags:
- Org Members
summary: Revoke Invitation
description: Requires admin or owner role. Only pending invitations can be revoked.
operationId: revokeOrgInvitation
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: invitation_id
in: path
required: true
schema:
type: string
title: Invitation Id
responses:
'204':
description: Successful Response
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/orgs/{org_id}/invitations/{invitation_id}/resend:
post:
tags:
- Org Members
summary: Resend Invitation
description: Requires admin or owner role. Rotates the invitation token, extends its expiry, and re-sends the email.
operationId: resendOrgInvitation
security:
- APIKeyHeader: []
- BearerAuth: []
parameters:
- name: org_id
in: path
required: true
schema:
type: string
title: Org Id
- name: invitation_id
in: path
required: true
schema:
type: string
title: Invitation Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/OrgInvitationResponse'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'501':
description: Feature not enabled
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
OrgMemberListResponse:
properties:
members:
items:
$ref: '#/components/schemas/OrgMemberResponse'
type: array
title: Members
total:
type: integer
title: Total
org_id:
type: string
title: Org Id
type: object
required:
- members
- total
- org_id
title: OrgMemberListResponse
description: List of organization members response.
OrgMemberResponse:
properties:
user_id:
type: string
title: User Id
name:
type: string
title: Name
email:
type: string
title: Email
role:
$ref: '#/components/schemas/OrgRole'
joined_at:
type: string
format: date-time
title: Joined At
is_active:
type: boolean
title: Is Active
type: object
required:
- user_id
- name
- email
- role
- joined_at
- is_active
title: OrgMemberResponse
description: Organization member response.
UpdateMemberRoleRequest:
properties:
role:
$ref: '#/components/schemas/OrgRole'
type: object
required:
- role
title: UpdateMemberRoleRequest
description: Request to update a member's role.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
OrgInvitationResponse:
properties:
id:
type: string
title: Id
org_id:
type: string
title: Org Id
email:
type: string
title: Email
role:
$ref: '#/components/schemas/OrgRole'
status:
type: string
title: Status
invited_by_user_id:
type: string
title: Invited By User Id
invited_by_name:
anyOf:
- type: string
- type: 'null'
title: Invited By Name
created_at:
type: string
format: date-time
title: Created At
expires_at:
type: string
format: date-time
title: Expires At
is_expired:
type: boolean
title: Is Expired
token:
anyOf:
- type: string
- type: 'null'
title: Token
description: 'Test-support only: the raw invite token. Populated ONLY when AUTH_INVITE_TOKEN_IN_RESPONSE is enabled in a non-production environment; always null in production. Lets automated authorization tests complete the invite -> register flow without email interception.'
type: object
required:
- id
- org_id
- email
- role
- status
- invited_by_user_id
- invited_by_name
- created_at
- expires_at
- is_expired
title: OrgInvitationResponse
description: Organization invitation response.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
CreateInvitationRequest:
properties:
email:
type: string
format: email
title: Email
role:
$ref: '#/components/schemas/OrgRole'
default: member
type: object
required:
- email
title: CreateInvitationRequest
description: Request to invite a new user to an organization by email.
OrgRole:
type: string
enum:
- owner
- admin
- member
title: OrgRole
OrgInvitationListResponse:
properties:
invitations:
items:
$ref: '#/components/schemas/OrgInvitationResponse'
type: array
title: Invitations
total:
type: integer
title: Total
org_id:
type: string
title: Org Id
type: object
required:
- invitations
- total
- org_id
title: OrgInvitationListResponse
description: List of pending organization invitations response.
ErrorResponse:
properties:
detail:
type: string
title: Detail
description: Human-readable error message explaining what went wrong
examples:
- Insufficient credits for operation
code:
anyOf:
- type: string
- type: 'null'
title: Code
description: Machine-readable error code for programmatic handling
examples:
- INSUFFICIENT_CREDITS
request_id:
anyOf:
- type: string
- type: 'null'
title: Request Id
description: Unique request ID for tracking and debugging
examples:
- req_1234567890abcdef
timestamp:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Timestamp
description: Timestamp when the error occurred
examples:
- '2024-01-01T00:00:00Z'
type: object
required:
- detail
title: ErrorResponse
description: Error body returned by every endpoint.
example:
code: RESOURCE_NOT_FOUND
detail: Resource not found
request_id: req_1234567890abcdef
timestamp: '2024-01-01T00:00:00Z'
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key
description: API key for authentication
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT bearer token