# Flowg8 · Verify email

Verify the emailed code and initialize your organization automatically.

Registration is closed in production before launch. Registration, confirmation and code resend return 403 REGISTRATION_DISABLED without creating accounts or sending mail.

After a valid code, Flowg8 creates one Live organization, one Sandbox and the founder profile in both environments. The founder receives administrator and requester access. Sign in to retrieve organization IDs through POST /v1/workspace. A failed initialization is repaired on the next authenticated login. POST /v1/registration/resend accepts {email} to request another code.

## POST /v1/registration/confirm

Authentication: public account endpoint; no token required
Required user permissions: No account role required. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Input parameters
- email (string, required): email · max length 128
- code (string, required): 

## Request example (replace example IDs)

```sh
curl -X POST "https://api.flowg8.io/v1/registration/confirm" \
  -H "content-type: application/json" \
  --data-raw '{
  "email": "alex@example.com",
  "code": "123456"
}'
```

## Response excerpt

```json
{
  "confirmed": true
}
```

Source: /docs/confirm-account
Full schemas: /docs/openapi.json
