POST/api/public/activate-account
Activates a newly created user account and sets the first password – triggered via the link in the invitation email.
Send `token` (from the activation link in the invitation email) and the desired `password`. On success, the account is active (`data.user_id`) and the user signs in with the new password. An activation link is valid only once and only for a limited time. An invalid, already used or expired link results in 400 `INVALID_TOKEN`; in this case, request a new invitation. The endpoint is limited to 10 requests per 15 minutes per IP address.
Overview
Call: POST /api/public/activate-account. This endpoint belongs to the “Public Forms” group of the Zentor App API. It is publicly accessible and requires no authentication. The call is not idempotent: every successful call triggers the action again. Required parameters: token (body), password (body). Documented error cases: 400 INVALID_TOKEN. The example response below shows the structure of a successful JSON response.
Auth & Security
No authentication required
Idempotent: No
Parameters
token(body, string, required)— Activation token from the invitation emailpassword(body, string, required)— Password to be setExample Request
{"token":"<token from activation email>","password":"YourNewSecurePassword!"}Example Response
{"ok":true}Error Codes
400 INVALID_TOKEN — The activation link is invalid, already used or expired.Verified behaviour
An invalid token returns 400 `INVALID_TOKEN`. The success case requires a valid link from an invitation email.
Public Forms
POST /api/public/contactAccepts a request from the contact form on the Zentor App website and forwards it to the Zentor team.POST /api/public/consultationAccepts a consultation request from the form on the Zentor App website.POST /api/public/access-requestSubmits an access request for a package (Starter, Individuell or 14-day demo). A previously confirmed email address is required.POST /api/public/access-request/email/start-verificationSends a six-digit confirmation code, valid for 10 minutes, to the given email address – the first step of an access request.POST /api/public/access-request/email/verifyChecks the code delivered by email and issues a confirmation token for the subsequent access request.GET /api/public/access-request/payment-statusIndicates which payment methods (PayPal, Stripe) are currently available for the access request.GET /api/public/access-request/paypal/configReturns the public PayPal configuration (enabled, mode, currency) for the payment step.POST /api/public/access-request/paypal/create-orderCreates a PayPal order for the selected package.POST /api/public/access-request/paypal/capture-orderCompletes (captures) a previously created order that the buyer has approved in the PayPal checkout. The amount is set by the server alone.POST /api/public/access-request/stripe/create-checkoutCreates a Stripe checkout session for the selected package.