---
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
- `404` — Not found

## Changes

- **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/c9640fded659/schema)
