---
title: "Invite Workspace Member"
method: POST
path: "/workspaces/{workspace_id}/members"
tags: ["workspaces"]
---

# Invite Workspace Member

`POST /workspaces/{workspace_id}/members`

Invites a user by email into the workspace as admin or member. Owner/admin only.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- InviteMemberRequest
  - `email` string, email, required
  - `role` 'admin' | 'member'

## Response `201`

Successful Response

- WorkspaceMember
  - `user_id` string, required
  - `email` string, nullable
  - `name` string, nullable
  - `role` 'owner' | 'admin' | 'member', required
  - `status` 'active' | 'pending', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/useauxos/apis/auxos.md) · [All operations](https://skmtc.dev/useauxos/apis/auxos/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/useauxos/auxos/revisions/2f853c0b59f4/schema)
