---
title: "Preview Invitation"
method: GET
path: "/invitations/{token}/preview"
tags: ["teams"]
---

# Preview Invitation

`GET /invitations/{token}/preview`

Anonymous-safe invite context for the accept page (pre sign-in).

No auth on purpose: the frontend shows the team and inviter before the
user signs in. The service scrubs everything sensitive and collapses
revoked/unknown/redeemed tokens into one 404.

## Path parameters

- `token` string, required

## Response `200`

Successful Response

- InvitationPreviewResponse — GET /invitations/{token}/preview: anonymous-safe invite context. Served before sign-in, so it must never carry the invited email, the inviter's email, or the token itself. Revoked and unknown tokens are both a plain 404 (the "revoked_or_unknown" case never reaches this shape), so possession of a stale link reveals nothing about its history.
  - `team_name` string, required
  - `member_count` integer, required
  - `role` 'owner' | 'admin' | 'member', required
  - `inviter` string, nullable
  - `status` 'pending' | 'expired', required
  - `expires_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
