---
title: "Join with the emailed code"
method: POST
path: "/api/invites/verify"
---

# Join with the emailed code

`POST /api/invites/verify`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/invites/verify`
- Auth: none required

No API key needed. Signs the person in (a new address gets a free account: the code proved the mailbox), joins the workspace and returns a dashboard session key.

## Request body

- object
  - `t` string, required
  - `challenge` string, required
  - `code` string, required

## Response `200`

{ ok, api_key, workspace_id, role, created }

## Other responses

- `400`: wrong_code, expired, used
- `403`: seat_limit
- `409`: invite_used

---

[API](https://skmtc.dev/postwire/apis/postwire-api.md) · [All operations](https://skmtc.dev/postwire/apis/postwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postwire/apis/postwire-api/revisions/513a409ab8f7?raw)
