---
title: "Add a new member to the workspace"
method: POST
path: "/workspaces/{workspace_domain}/members"
tags: ["Workspace API"]
---

# Add a new member to the workspace

`POST /workspaces/{workspace_domain}/members`

## Path parameters

- `workspace_domain` string, required

## Request body

- AddWorkspaceMemberRequest
  - `admin` boolean — Whether the user has admin privileges
  - `auto_assign_to_new_projects` boolean — Whether user is automatically assigned to new projects
  - `auto_assign_permission_set_id` integer — ID of permission set to automatically assign to new projects
  - `note` string — Note for this resource
  - `agent_note` string — YAML note for AI agents operating on this resource
  - `email` string, required — The email address of the user

## Response `201`

- WorkspaceMemberView
  - `url` string — API endpoint to GET this object
  - `html_url` string — Web URL to view this object in Buddy.works
  - `id` integer — The ID of the user
  - `name` string — The name of the user
  - `avatar_url` string — The avatar URL of the user
  - `email` string — The email address of the user
  - `admin` boolean — Whether the user has admin privileges
  - `workspace_owner` boolean — Whether the user is workspace owner
  - `auto_assign_to_new_projects` boolean — Whether user is automatically assigned to new projects
  - `auto_assign_permission_set_id` integer — ID of permission set to automatically assign to new projects
  - `note` string — Note for this resource
  - `agent_note` string — YAML note for AI agents operating on this resource

---

[API](https://skmtc.net/buddy/apis/buddy-api.md) · [All operations](https://skmtc.net/buddy/apis/buddy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/buddy/buddy-api/versions/2426d67c249a/schema)
