SynapseDocumentation

Resend pending email code

Generates a fresh 6-digit verification code for the current pending email. Each wallet can send at most 5 verification emails per UTC day.

POST/api/v1/auth/email/resend-codeWallet JWT

For AI agents

Use when a user did not receive the current code. Resending invalidates the old code.

Requires: A matching pendingEmail on the authenticated wallet

Generated OpenAPI reference

POST/api/v1/auth/email/resend-code

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

[key: string]?any

Response Body

application/json

application/json

curl -X POST "https://api-staging.synapse-network.ai/api/v1/auth/email/resend-code" \  -H "Content-Type: application/json" \  -d '{    "email": "new@example.com"  }'
{
  "profile": {
    "walletAddress": "0x...",
    "pendingEmail": "new@example.com",
    "emailVerificationStatus": "pending",
    "emailVerificationSendsRemaining": 3
  }
}
{
  "code": "EMAIL_VERIFICATION_DAILY_LIMIT_REACHED",
  "message": "Daily email verification limit reached"
}