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
  1. body

Request to email a self-service signup verification code.

email*string

Response Body

Verification code emailed.

application/json
  1. response
message*string
Example Request
curl -X POST 'https://example.com/api/auth/string/signup/email_code' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "string"
}'
Example Response
{
  "message": "string"
}