Verify the emailed signup code
const url = 'https://api.flotera.com/api/v1/auth/signup/verify';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"email":"hello@example.com","code":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.flotera.com/api/v1/auth/signup/verify \ --header 'Content-Type: application/json' \ --data '{ "email": "hello@example.com", "code": "example" }'Second step: exchanges a correct 6-digit code for a single-use ticket
that authorizes the final step (set password, create the account).
The code dies after 5 wrong attempts or 10 minutes; a wrong, expired,
exhausted or never-issued code all answer the same 401 — the
operation is not an oracle for pending signups (05 §8.3). Rate limited
by IP prefix and hashed email on top of the per-code attempt counter.
Operator-disabled together with the other signup operations
(ERMEON_SIGNUP_ENABLED, see POST /auth/signup/start).
Request Bodyrequired
Section titled “Request Bodyrequired”object
The 6-digit code from the email.
Examplegenerated
{ "email": "hello@example.com", "code": "example"}Responses
Section titled “Responses”Code accepted; single-use ticket for the final step.
object
Single-use, purpose-scoped ticket for the flow’s complete operation; expires 10 minutes after verify.
Examplegenerated
{ "ticket": "example"}Wrong, expired or exhausted code (code=unauthorized) — request a new one with POST /auth/signup/start.
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Public signup is disabled on this deployment.
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Request failed validation (code=validation_failed), with per-field errors.
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Rate limit exceeded (code=rate_limited).
RFC 9457 problem document with a stable machine code.
object
Stable machine-readable error code (03 §2.4).
UUID (v7 for new entities; v4 accepted during migration).
object
JSON Pointer to the offending field.
Example
{ "type": "https://ermeon.com/problems/validation", "code": "unauthorized"}Headers
Section titled “Headers”Seconds to wait before retrying.