---
title: "CreateInvitation"
method: POST
path: "/teams/{team_slug}/invitations"
tags: ["Teams"]
---

# CreateInvitation

`POST /teams/{team_slug}/invitations`

Create a new team invitation.

Returns:
    Redirect to invitations page.

## Path parameters

- `team_slug` string, required — The team slug.

## Request body

- TeamInvitationCreate
  - `email` string, required
  - `role` 'admin' | 'editor' | 'member' — Valid values for team roles. Roles follow Jetstream conventions: - ADMIN: Full permissions (create, read, update, delete) - EDITOR: Limited permissions (read, create, update) - MEMBER: Basic read-only access Note: Team ownership is tracked separately via is_owner on TeamMember.

## Response `201`

Document created, URL follows

## Other responses

- `400` — Bad request syntax or unsupported method

---

[API](https://skmtc.net/litestar-org/apis/app.md) · [All operations](https://skmtc.net/litestar-org/apis/app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/litestar-org/app/versions/461f3baecebb/schema)
