register_new_account
Verify a 6-digit email OTP to create a PushNotif tenant account, register the website app, and issue a live API key with 1,000 free credits. Use after request_registration_otp when user provides OTP.
Instructions
Verify a 6-digit email OTP, create a new PushNotif tenant account with 1,000 free lifetime credits, register the initial website app, and issue a live API key. Use this tool immediately after request_registration_otp once the user providesotp_code; do not use it to add extra websites to an existing account (use create_app instead). Public endpoint requiring no prior API key; irreversibly creates a tenant record and auto-generates ECDSA P-256 VAPID keys. Returns JSON { ok, tenant: { id, name, email, api_key, credits }, app: { id, site_name, site_url, vapid_public_key } }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | User or company workspace name (2 to 80 characters) | |
| Yes | Email address that received the OTP from request_registration_otp | ||
| otp_code | Yes | Exact 6-digit numeric OTP code sent to the user's email | |
| password | Yes | Account password (minimum 6 characters) | |
| site_url | No | Optional full HTTPS origin URL of the first website (e.g., https://example.com) | |
| site_name | No | Optional display name for the first website or app (defaults to workspace name) |