TktPlz uses a passwordless email flow for both registration and login. When you submit your email, TktPlz sends a 6-digit one-time code to that address. Enter the code to complete sign-in or account creation. The code is valid for 6 minutes and each email address can request only one OTP per 60-second window.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Sumitbose5/tktplz/llms.txt
Use this file to discover all available pages before exploring further.
Registration
Attendee (user) registration
Attendee accounts require only a name and email address. There is no phone number or password required.Submit your details
POST to Response (200)
/api/auth/user-reg with your name and email. TktPlz checks that the email is not already registered and sends a 6-digit OTP to your inbox.Organiser registration
Organiser accounts require a name, email, and a phone number. Phone numbers must be unique across the platform.Submit your details
POST to Response (200)
/api/auth/orgn-reg with your name, email, and phone number.After a successful OTP verification, the browser is automatically redirected: attendees go to the home page (or the page they were originally trying to visit), while organisers are sent to
/orgn/dashboard.Login
Attendee login
Request an OTP
POST to Response (200)
/api/auth/user-login with your registered email. TktPlz verifies the email exists as an attendee account and sends a fresh OTP.Organiser login
OTP expiry and resend
- Expiry: OTPs expire after 6 minutes (360 seconds). If you enter an expired code,
/api/auth/verify-otpreturns"OTP expired or not found. Request a new OTP." - Rate limit: You can request one OTP per 60 seconds per email address. Requesting again within that window returns a
429response:"You can request a new OTP after 1 minute." - Resend: To get a new code, submit the registration or login form again after 60 seconds have passed.
API endpoint reference
| Endpoint | Method | Purpose |
|---|---|---|
/api/auth/user-reg | POST | Register a new attendee account |
/api/auth/orgn-reg | POST | Register a new organiser account |
/api/auth/verify-otp | POST | Verify OTP for both registration and login |
/api/auth/user-login | POST | Request a login OTP for an existing attendee |
/api/auth/orgn-login | POST | Request a login OTP for an existing organiser |
