OpenRCS API reference · v1 ← Back to console Swagger UI
Accounts

Confirm an account email

POST /accounts/confirm public

Verifies the confirmation code sent to the email and kicks off asynchronous provisioning. Poll GET /account for status. Idempotent: confirming an already-confirmed account returns 200.

Request body

FieldTypeRequiredDescription
email string yes Account email address to confirm (at most 128 characters).
code string yes Confirmation code received by email.
{
  "email": "user@example.com",
  "code": "123456"
}

Responses

StatusDescription
200 Confirmation accepted; provisioning started.
400 Missing or malformed email/code, an unknown account email, or an invalid or expired confirmation code.
502 Upstream account call failed; a generic error is returned and no internals are leaked.

200 example

{
  "status": "provisioning"
}