---
title: "Invite guests to the team by email"
method: POST
path: "/api/v4/teams/{team_id}/invite-guests/email"
tags: ["teams"]
---

# Invite guests to the team by email

`POST /api/v4/teams/{team_id}/invite-guests/email`

Invite guests to existing team channels usign the user's email.

The number of emails that can be sent is rate limited to 20 per hour with a burst of 20 emails. If the rate limit exceeds, the error message contains details on when to retry and when the timer will be reset.

##### Permissions
Must have `invite_guest` permission for the team.

## Path parameters

- `team_id` string, required

## Request body

- object
  - `emails` string[], required — List of emails
  - `channels` string[], required — List of channel ids
  - `message` string — Message to include in the invite

## Response `200`

Guests invite successful

- 38cb7293StatusOK
  - `status` string — Will contain "ok" if the request was successful and there was nothing else to return

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `413` — Content too large

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/158a854b0c7d/schema)
