Herald
OpenapiAuth

Email the 6-digit verification code the signup flow will later consume.

Only the admin realm hosts this entry; any other `realmId` is rejected. No Turnstile here (same posture as the other code-only senders — the per-IP + per-mailbox rate limits carry the anti-bombing defense), and the platform toggle gates it fail-closed so the code sender can never outlive the signup entry it serves.

POST
/api/auth/{realmId}/signup/email_code

Only the admin realm hosts this entry; any other realmId is rejected. No Turnstile here (same posture as the other code-only senders — the per-IP + per-mailbox rate limits carry the anti-bombing defense), and the platform toggle gates it fail-closed so the code sender can never outlive the signup entry it serves.

Path Parameters

realmId*string

Must be "admin"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

email*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/auth/string/signup/email_code" \  -H "Content-Type: application/json" \  -d '{    "email": "string"  }'
{  "message": "string"}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}