---
title: "Invite a member (admin only)"
method: POST
path: "/members/invite"
tags: ["Members"]
---

# Invite a member (admin only)

`POST /members/invite`

## Request

- Base URL: `https://there-there.app/api`
- URL: `https://there-there.app/api/members/invite`
- Auth: HTTP bearer

## Headers

- `X-Workspace-Id` integer

## Request body

- object
  - `email` string, email, required
  - `name` string, nullable
  - `role` 'admin' | 'member', required
  - `channel_ulids` string[]: Optional list of channel ULIDs to scope the member to.

## Response `201`

Invitation created

- object
  - `data` object
    - `id` integer
    - `ulid` string
    - `email` string
    - `name` string, nullable
    - `role` string
    - `invited_at` string, date-time

---

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