Org Members

Invite Member

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.

post/v1/orgs/{org_id}/invitations

Request

  • Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.robosystems.ai/v1/orgs/{org_id}/invitations
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

org_idstring required

Request body

emailstring email required
role'owner' | 'admin' | 'member'

Response

Successful Response

idstring required
org_idstring required
emailstring required
role'owner' | 'admin' | 'member' required
statusstring required
invited_by_user_idstring required
invited_by_namestring nullable required
created_atstring date-time required
expires_atstring date-time required
is_expiredboolean required
tokenstring nullable

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.

Changes

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