---
title: "Invite Member"
method: POST
path: "/v1/orgs/{org_id}/invitations"
tags: ["Org Members"]
---

# Invite Member

`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

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.

## Path parameters

- `org_id` string, required

## Request body

- CreateInvitationRequest: Request to invite a new user to an organization by email.
  - `email` string, email, required
  - `role` 'owner' | 'admin' | 'member'

## Response `201`

Successful Response

- OrgInvitationResponse: Organization invitation response.
  - `id` string, required
  - `org_id` string, required
  - `email` string, required
  - `role` 'owner' | 'admin' | 'member', required
  - `status` string, required
  - `invited_by_user_id` string, required
  - `invited_by_name` string, nullable, required
  - `created_at` string, date-time, required
  - `expires_at` string, date-time, required
  - `is_expired` boolean, required
  - `token` string, 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.

## Other responses

- `400`: Invalid request
- `401`: Authentication required
- `403`: Access denied
- `404`: Resource not found
- `409`: Email already registered or invited
- `422`: Validation Error
- `429`: Rate limit exceeded
- `500`: Internal server error
- `501`: Feature not enabled

---

[API](https://skmtc.dev/robosystems/apis/robosystems-api.md) · [All operations](https://skmtc.dev/robosystems/apis/robosystems-api/llms.txt) · [OpenAPI document](https://skmtc.dev/robosystems/apis/robosystems-api/revisions/e661e2d5ca6a?raw)
