---
title: "Validate invite"
method: POST
path: "/v1/invite/validate"
tags: ["Invite"]
---

# Validate invite

`POST /v1/invite/validate`

Validates an invite code and whitelists the wallet if the code is valid and unused.

## Request body

- ValidateInviteRequest
  - `code` string, required
  - `transaction_signature` string, nullable — Optional transaction signature if the client has already submitted an on-chain transaction
  - `wallet_address` string, required

## Response `200`

Validation successful

- ValidateInviteResponse
  - `message` string, required
  - `success` boolean, required
  - `whitelisted` boolean, required

## Other responses

- `400` — Standard JSON error payload.
- `409` — Standard JSON error payload.
- `429` — Standard JSON error payload.
- `500` — Standard JSON error payload.
- `503` — Standard JSON error payload.

---

[API](https://skmtc.net/phoenix/apis/phoenix-eternal-api.md) · [All operations](https://skmtc.net/phoenix/apis/phoenix-eternal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/phoenix/phoenix-eternal-api/versions/0f598402d680/schema)
