---
title: "Email a 6-digit code to the invited address"
method: POST
path: "/api/invites/code"
---

# Email a 6-digit code to the invited address

`POST /api/invites/code`

## Request

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

No API key needed. The code goes to the address the invitation was sent to, never another: a forwarded link is useless without that mailbox. 4 codes per 15 minutes per invitation.

## Request body

- object
  - `t` string, required

## Response `200`

{ ok, challenge, sent_to }

---

[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)
