---
title: "invite team member"
method: POST
path: "/api/v0/team/invite/"
tags: ["Team"]
---

# invite team member

`POST /api/v0/team/invite/`

Sends an invitation email to the specified user to join the team with the given role.

CLI Usage: `vastai invite team-member --email <email> --role <role>`

## Request body

- object
  - `email` string, email, required — Email address of the user to invite
  - `role` string, required — Role to assign to the new team member

## Response `200`

Invitation sent successfully

- object
  - `success` boolean
  - `msg` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden - User not authenticated
- `404` — Team metadata not found
- `429` — Too Many Requests - Duplicate invitation

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/revisions/4ed14f79f796/schema)
