---
title: "Get Workspace Invite By Token"
method: GET
path: "/invites/{token}"
tags: ["invites"]
---

# Get Workspace Invite By Token

`GET /invites/{token}`

Resolve an invite token to its workspace_id. Used by the router to detect already-accepted invites.

## Path parameters

- `token` string, required

## Response `200`

Successful Response

- InvitePreviewResponse
  - `workspace_id` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.net/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/versions/28bdface01df/schema)
