---
title: "Invite user to team"
method: POST
path: "/user/invite"
tags: ["user"]
---

# Invite user to team

`POST /user/invite`

## Request

- Base URL: `https://public.stonly.com/api/v3`
- URL: `https://public.stonly.com/api/v3/user/invite`
- Auth: HTTP basic

Sends an email invitation to join the team with a specific role.

## Query parameters

- `teamId` integer

## Request body

- object
  - `role` Role, required (unresolved $ref)
  - `email` Email, required (unresolved $ref)

## Response `204`

Invitation sent successfully.

## Other responses

- `default`: Standard error response.

---

[API](https://skmtc.dev/stonly/apis/stonly-public-api.md) - [All operations](https://skmtc.dev/stonly/apis/stonly-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stonly/apis/stonly-public-api/revisions/4ba5b03a634a?raw)
