---
title: "Create invite link for workspace"
method: POST
path: "/workspaces/{workspacePublicId}/invites"
tags: ["Invites"]
---

# Create invite link for workspace

`POST /workspaces/{workspacePublicId}/invites`

Create invite link for a workspace

## Path parameters

- `workspacePublicId` string, required

## Response `200`

Successful response

- object
  - `publicId` string, required
  - `inviteCode` string, required
  - `inviteLink` string, required
  - `expiresAt` string, nullable, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

[API](https://skmtc.net/kan/apis/kan-api.md) · [All operations](https://skmtc.net/kan/apis/kan-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kan/kan-api/revisions/3235f0c88e7a/schema)
