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

# Invite a user to the team

`POST /v1/team/invite`

## Request

- Base URL: `https://api.deadsimple.email`
- URL: `https://api.deadsimple.email/v1/team/invite`
- Auth: HTTP bearer

Requires admin or owner role. Sends an invitation email.

## Headers

- `X-Workspace-Id` string, uuid

## Request body

- object
  - `email` string, email, required
  - `role` 'viewer' | 'developer' | 'admin'

## Response `201`

Invitation created

---

[API](https://skmtc.dev/deadsimple/apis/dead-simple-email-api.md) · [All operations](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deadsimple/apis/dead-simple-email-api/revisions/c697881be131?raw)
