---
title: "Create Team Invite"
method: POST
path: "/api/teams/{team_id}/invites"
---

# Create Team Invite

`POST /api/teams/{team_id}/invites`

## Request

- Base URL: `https://api.gethesperai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.gethesperai.com/api/teams/{team_id}/invites`
- Auth: none declared

## Path parameters

- `team_id` string, uuid, required

## Headers

- `X-Team-Id` string, nullable

## Request body

- CreateInviteRequest
  - `email` string, email, required
  - `role` 'owner' | 'admin' | 'member' | 'viewer': Membership roles, ordered by privilege. owner — single per team, set at team creation, can delete the team admin — can invite, change roles (except owner), and delete team data member — can create cases/policies and read everything in the team viewer — read-only across the team

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator.md) - [All operations](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/llms.txt) - [OpenAPI document](https://skmtc.dev/gethesperai/apis/hesper-ai-claims-investigator/revisions/1a031ee6acf1?raw)
