---
title: "Invite team member"
method: POST
path: "/v1/teams/{teamId}/members"
tags: ["Team Members", "team"]
---

# Invite team member

`POST /v1/teams/{teamId}/members`

## Request

- Base URL: `https://placeholder/v1`
- URL: `https://placeholder/v1/v1/teams/{teamId}/members`
- Auth: none required
- TypeScript: <https://skmtc.dev/northflank/apis/northflank-api/docs/v1/teams/:teamId/members/post.ts> (a function with typed inputs; its response is checked against the schema)

Invites a user to a team.

## Path parameters

- `teamId` string, required: ID of the team

## Request body

- object
  - `email` string, required: Email of the user to invite.
  - `roles` string[]: Role IDs to assign to the invited member.

## Response `200`

The operation was performed successfully.

---

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