---
title: "POST create-team-invitations"
method: POST
path: "create-team-invitations"
---

# POST create-team-invitations

`POST create-team-invitations`

## Request

- Base URL: `https://design.penpot.app/api/main/methods`
- URL: `https://design.penpot.app/api/main/methods/create-team-invitations`
- Auth: none declared

A rpc call that allows to send single or multiple invitations to join the team.

Supports two parameter formats:
1. emails (set) + role (single role for all emails)
2. invitations (vector of {:email :role} maps for individual roles)

## Request body

- object
  - `teamId` string, uuid, required: UUID formatted string
  - `emails` Email[]: Set of Strings
  - `role` 'viewer' | 'admin' | 'editor' | 'owner'
  - `invitations` object[]
    - `email` string, email, required: string with valid email address
    - `role` 'viewer' | 'admin' | 'editor' | 'owner', required

---

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