---
title: "POST /v1/operations/members.invite"
method: POST
path: "/v1/operations/members.invite"
---

# POST /v1/operations/members.invite

`POST /v1/operations/members.invite`

## Request

- Base URL: `https://sagots.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sagots.com/v1/operations/members.invite`
- Auth: HTTP bearer

## Request body

- object
  - `workspaceId` string, uuid, required
  - `email` string, email, required
  - `role` 'viewer' | 'editor' | 'operator' | 'admin', required
  - `agentIds` string[], nullable
  - `expiresInDays` integer, required

## Response `200`

Operation result

## Other responses

- `400`: Structured error

---

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