---
title: "Invite people to a workspace"
method: POST
path: "/v2/people"
tags: ["People"]
---

# Invite people to a workspace

`POST /v2/people`

Invites one or more people to the current workspace. If an email is not already registered, a new account is created and an invitation email is sent. Existing accounts are linked directly to the workspace.

## Request body

- CreatePersonRequest
  - `emails` string[], required — Email addresses to invite. At least one email is required.
  - `roles` string[] — Roles to assign. Defaults to ["member"] when empty.
  - `groups` string[] — Group IDs to assign.

## Response `200`

OK

- CreatePersonResponse
  - `people` Person[], required — Newly created people.
    - `id` string, required — Unique workspace user identifier (ULID).
    - `account_id` string, required — Linked account ID.
    - `email` string, required — Email address.
    - `display_name` string, required — Full display name (firstname + lastname).
    - `avatar_url` string — Profile image URL.
    - `roles` string[], required — Permission roles assigned to the person.
    - `groups` string[], required — Group IDs the person belongs to (non-support groups).
    - `status` 'PERSON_STATUS_UNSPECIFIED' | 'PERSON_STATUS_PENDING' | 'PERSON_STATUS_ACTIVE', required
    - `last_activity` string, date-time — Last activity timestamp.
    - `created_at` string, date-time, required — When the person was invited or added.
    - `updated_at` string, date-time, required — Last modification timestamp.

---

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