---
title: "Accept a workspace invitation"
method: POST
path: "/api/invites/{token}/accept"
tags: ["workspace"]
---

# Accept a workspace invitation

`POST /api/invites/{token}/accept`

[cloud-only] Accepts a workspace invitation using the invite token. The authenticated user is added to the workspace.

## Path parameters

- `token` string, required

## Response `200`

Invite accepted

- Workspace — [cloud-only] A cloud workspace for team collaboration.
  - `id` string, required
  - `name` string, required
  - `owner_id` string
  - `member_count` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Email does not match invite
- `404` — Not found
- `409` — Already a member of this workspace
- `500` — Internal server error

## Changes

- **2026-05-22** `09a5075587c8` — 4 info
  - api operation id `acceptInvite` removed and replaced with `acceptWorkspaceInvite`
  - added the non-success response with the status `403`
  - added the non-success response with the status `409`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/invites/:token/accept/post.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/09a5075587c8/schema)
