---
title: "Accept a workspace invitation"
method: POST
path: "/v1/invitations/accept"
tags: ["workspaces"]
---

# Accept a workspace invitation

`POST /v1/invitations/accept`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/invitations/accept`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

The authenticated user must match the invitation email and belong to the invitation account. A different account returns account_mismatch; joining another account is an onboarding step, not an implicit grant.

## Request body

- object
  - `token` string, required

## Response `200`

Accepted

- object
  - `workspace_id` string, required
  - `role` 'owner' | 'admin' | 'member', required
  - `user_id` 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)
