---
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

- AcceptInviteResponse — [cloud-only] Response returned after successfully accepting a workspace invitation.
  - `workspace_id` string, required — ID of the workspace joined
  - `workspace_name` string, required — Name of the workspace joined

## 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** `c4db9e1283df` — 2 breaking, 4 warning, 2 info
  - removed the required property `id` from the response with the `200` status
  - removed the required property `name` from the response with the `200` status
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `member_count` from the response with the `200` status
  - …4 more
- **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/c4db9e1283df/schema)
