Ticket2U Mock Registration
Admin Database API Docs

Registration Successful!

Thank you for registering. Your ticket pass and access tokens are ready.

Attendee QR Code
Mia Andersson
PharmaLogic AB • Director of Regulatory Affairs
🎫 Ticket No: t2u-s8vp6w6i
User ID: t2u_usr_mia • Event: 51600
✓ Synced to Firebase Cloud (t2u-qms)
📋

Request Logging & Firebase Cloud cURLs

DEVELOPER DEBUG LOG

Formatted JSON payload of the submitted data and exact cURL commands sent to Firebase Cloud Functions / Auth Handler.

1. Submitted Form Data (JSON Formatted):
{
  "registrationId": "10acc614a33a4455a387d3d2b3044841",
  "eventId": "51600",
  "formId": "632",
  "ticketId": "t2u-s8vp6w6i",
  "ticket2uUserId": "t2u_usr_mia",
  "fullName": "Mia Andersson",
  "nameOnTag": "Mia Andersson",
  "email": "mia@test.com",
  "mobileNumber": "\u002B46709876543",
  "company": "PharmaLogic AB",
  "designation": "Director of Regulatory Affairs",
  "jobRole": "Top Management/Department Head",
  "country": "Sweden",
  "industry": "Manufacturer",
  "visitingPurpose": "To source new opportunities, Networking Opportunities",
  "businessMatchingInterest": true,
  "interestedProductsServices": "Pharma/Nutrition, Laboratory/Sterilisation, Disposables/Consumables",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "conferenceInfoInterest": "Yes send me more info",
  "remarks": "Director overseeing ASEAN pharmaceutical compliance \u0026 distribution.",
  "createdAt": "2026-09-01T04:21:58.0627850",
  "firebaseUid": "nwaHGSm8JPWkkA51cm318VmhZHZ2",
  "syncedToFirebase": true
}
2. Firebase Cloud Function (authHandler) cURL:
curl -i -X GET "https://match.ticket2u.com/auth?email=mia%40test.com&eventIds=51600&exp=1790828518&sig=cfce0ae49ebaaf8fe2130c2ad155ef77f16289b1f3b9ec9a53d12b0c62a8cd89&ticketId=t2u-s8vp6w6i"
3. Firebase Webhook (ticket2uProfileWebhook) cURL:
curl -i -X POST "https://match-ticket2u-com.firebaseapp.com/ticket2uProfileWebhook" \
  -H "Content-Type: application/json" \
  -d '{"email":"mia@test.com","eventId":"51600","ticketId":"t2u-s8vp6w6i","fullName":"Mia Andersson","company":"PharmaLogic AB","industry":"Manufacturer","jobRole":"Top Management/Department Head","designation":"Director of Regulatory Affairs"}'
4. Firestore Documents Payload (users/{uid} & events/{eventId}/registrations/{uid}):
// users/nwaHGSm8JPWkkA51cm318VmhZHZ2:
{
  "uid": "nwaHGSm8JPWkkA51cm318VmhZHZ2",
  "email": "mia@test.com",
  "displayName": "Mia Andersson",
  "company": "PharmaLogic AB",
  "industry": "Manufacturer",
  "ticketId": "t2u-s8vp6w6i",
  "ticket2uUserId": "t2u_usr_mia",
  "mobileNumber": "\u002B46709876543",
  "country": "Sweden",
  "jobRole": "Top Management/Department Head",
  "designation": "Director of Regulatory Affairs",
  "visitingPurpose": "To source new opportunities, Networking Opportunities",
  "businessMatchingInterest": true,
  "interestedProducts": "Pharma/Nutrition, Laboratory/Sterilisation, Disposables/Consumables",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "remarks": "Director overseeing ASEAN pharmaceutical compliance \u0026 distribution.",
  "syncedAt": "2026-09-24T10:46:57.9715575Z"
}

// events/51600/registrations/nwaHGSm8JPWkkA51cm318VmhZHZ2:
{
  "eventId": "51600",
  "companyName": "PharmaLogic AB",
  "displayName": "Mia Andersson",
  "email": "mia@test.com",
  "industry": "Manufacturer",
  "jobRole": "Top Management/Department Head",
  "designation": "Director of Regulatory Affairs",
  "ticketId": "t2u-s8vp6w6i",
  "ticket2uUserId": "t2u_usr_mia",
  "ticket2uRegistrationId": "10acc614a33a4455a387d3d2b3044841",
  "offeringTags": [
    "Pharma/Nutrition",
    "Laboratory/Sterilisation",
    "Disposables/Consumables"
  ],
  "lookingForTags": [
    "Pharma/Nutrition",
    "Laboratory/Sterilisation",
    "Disposables/Consumables"
  ],
  "shareAvailability": true,
  "businessMatchingInterest": true,
  "interestedProductsServices": "Pharma/Nutrition, Laboratory/Sterilisation, Disposables/Consumables",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "remarks": "Director overseeing ASEAN pharmaceutical compliance \u0026 distribution.",
  "agenda": [],
  "updatedAt": "2026-09-24T10:46:57.9715849Z",
  "createdAt": "2026-09-01T04:21:58.0627850"
}

🚀 Choose Your Magic Link / Login Method:

Simulate how the attendee logs into the Business Matching app via browser, local Expo dev server, or mobile device.

🌐 1. Localhost Expo Web (Attendee App):
Direct 1-click login on local Expo web server (port 8081) with Firebase Custom Token
Open Expo Web ↗
http://localhost:8081/?customToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJud2FIR1NtOEpQV2trQTUxY20zMThWbWhaSFoyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXM4dnA2dzZpIiwiZW1haWwiOiJtaWFAdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk1OSwiaWF0IjoxNzg5NzI2MzU5fQ.TWM5dLO28UIpdnHqH4oOtT5bVXVrsxdKtOkSBp--63vd3sxfNZQqqO55KWwVW1VcqZ4iIatq45HX3mRmQPgRyUGX6vvJK5ygJ9q6i00wjy-Qzkwn0iF09j4OjXcC1Ld44kjCbperBBrn8kWnyf_MV8OPFmYTV4f2fjasZ4RlrAEj8p1yVyd9g4TLBjA_LWToxPHlDP9UT1mtMHp4o75gDm06zFa1nlUx3q1zOchJBZ-40CV0x4Jh-0FCLeu_KvexXiHGupVWXs9MsrK-LYwQ-pmHxwo5NG3qXzjvusKaKvyNMpJMA4QolHQSal3HwAeUjjybwdZfB-XbZmYg1yjmDA
☁️ 2. Universal Browser / Firebase Cloud Landing:
Checks device & prompts user to open app or continue in browser (Signed HMAC URL)
Open Cloud URL ↗
https://match.ticket2u.com/auth?email=mia%40test.com&eventIds=51600&exp=1790828518&sig=cfce0ae49ebaaf8fe2130c2ad155ef77f16289b1f3b9ec9a53d12b0c62a8cd89&ticketId=t2u-s8vp6w6i
📱 3. Mobile Device / Simulator Commands:
Run directly in terminal to open the installed Business Matching mobile app
xcrun simctl openurl booted "business-matching://app/auth?customToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJud2FIR1NtOEpQV2trQTUxY20zMThWbWhaSFoyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXM4dnA2dzZpIiwiZW1haWwiOiJtaWFAdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk1OSwiaWF0IjoxNzg5NzI2MzU5fQ.TWM5dLO28UIpdnHqH4oOtT5bVXVrsxdKtOkSBp--63vd3sxfNZQqqO55KWwVW1VcqZ4iIatq45HX3mRmQPgRyUGX6vvJK5ygJ9q6i00wjy-Qzkwn0iF09j4OjXcC1Ld44kjCbperBBrn8kWnyf_MV8OPFmYTV4f2fjasZ4RlrAEj8p1yVyd9g4TLBjA_LWToxPHlDP9UT1mtMHp4o75gDm06zFa1nlUx3q1zOchJBZ-40CV0x4Jh-0FCLeu_KvexXiHGupVWXs9MsrK-LYwQ-pmHxwo5NG3qXzjvusKaKvyNMpJMA4QolHQSal3HwAeUjjybwdZfB-XbZmYg1yjmDA"
adb shell am start -a android.intent.action.VIEW -d "business-matching://app/auth?customToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJud2FIR1NtOEpQV2trQTUxY20zMThWbWhaSFoyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXM4dnA2dzZpIiwiZW1haWwiOiJtaWFAdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk1OSwiaWF0IjoxNzg5NzI2MzU5fQ.TWM5dLO28UIpdnHqH4oOtT5bVXVrsxdKtOkSBp--63vd3sxfNZQqqO55KWwVW1VcqZ4iIatq45HX3mRmQPgRyUGX6vvJK5ygJ9q6i00wjy-Qzkwn0iF09j4OjXcC1Ld44kjCbperBBrn8kWnyf_MV8OPFmYTV4f2fjasZ4RlrAEj8p1yVyd9g4TLBjA_LWToxPHlDP9UT1mtMHp4o75gDm06zFa1nlUx3q1zOchJBZ-40CV0x4Jh-0FCLeu_KvexXiHGupVWXs9MsrK-LYwQ-pmHxwo5NG3qXzjvusKaKvyNMpJMA4QolHQSal3HwAeUjjybwdZfB-XbZmYg1yjmDA"

📧 Simulated Ticket2U Confirmation Email Preview:

Preview (No SMTP server needed)
From: Ticket2U Registration <noreply@ticket2u.com.my>
To: Mia Andersson <mia@test.com>
Subject: Registration Confirmation & E-Pass - APHM International Healthcare Conference And Exhibition 2027 (Ticket: t2u-s8vp6w6i)
Event Header

Dear Mia Andersson,

Thank you for registering for APHM International Healthcare Conference And Exhibition 2027 - Visitor Registration. Your registration is confirmed and your event pass is ready.

YOUR OFFICIAL PASS TICKET NUMBER:
t2u-s8vp6w6i
QR Code
Click above or scan QR code on your phone to open the Business Matching platform
Company: PharmaLogic AB
Job Role / Title: Top Management/Department Head • Director of Regulatory Affairs
Industry: Manufacturer
Business Matching: Enabled (Access Granted)

This is an automated event confirmation message from Ticket2U. Please retain this email or save your ticket number for on-site badge printing and business matching sessions.

← Register Another Attendee View SQLite Database →

📨 Sent Emails & Tester Links (Firestore email-testing)

Loading sent emails from Firestore...
✓ Copied to clipboard!