---
title: "Create a workspace invitation"
method: POST
path: "/v1/workspaces/{id}/members/invitations"
tags: ["workspaces"]
---

# Create a workspace invitation

`POST /v1/workspaces/{id}/members/invitations`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/workspaces/{id}/members/invitations`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

Owner/admin only; inviting an owner requires the owner role. The one-time accept_token is returned here (no email provider is wired this wave).

## Path parameters

- `id` string, required

## Request body

- AddWorkspaceMember
  - `email` string, email, required
  - `role` 'owner' | 'admin' | 'member'

## Response `201`

Invitation created

- CreatedWorkspaceInvitation
  - `id` string, required
  - `email` string, required
  - `role` 'owner' | 'admin' | 'member', required
  - `created_at` string, required
  - `expires_at` string, required
  - `accept_token` string, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
