---
title: "Join Via Invite Link"
method: POST
path: "/v2/workspace-shares/{token}/join"
tags: ["v2 - Workspace Shares (Public)"]
---

# Join Via Invite Link

`POST /v2/workspace-shares/{token}/join`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/workspace-shares/{token}/join`
- Auth: HTTP bearer

Join a workspace via invite link.

Requires authentication.
If auto_accept=true: user is added immediately as viewer.
If auto_accept=false: user is added to pending_requests for owner approval.

## Path parameters

- `token` string, required

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Response `200`

Successful Response

- JoinResponse
  - `status` string, required
  - `workspace_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
