Ticket2U Mock Registration
API Explorer Admin Database API Docs
โœ“

Registration Successful!

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

Attendee QR Code
Leo Fernandez
MediDevices Corp • Chief Medical Officer
๐ŸŽซ Ticket No: t2u-ph43by16
User ID: t2u_usr_leo • 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": "64581a33442e4d7388a09a019834e074",
  "eventId": "51600",
  "formId": "632",
  "ticketId": "t2u-ph43by16",
  "ticket2uUserId": "t2u_usr_leo",
  "fullName": "Leo Fernandez",
  "nameOnTag": "Leo Fernandez",
  "email": "leo@test.com",
  "mobileNumber": "\u002B639171234567",
  "company": "MediDevices Corp",
  "designation": "Chief Medical Officer",
  "jobRole": "C-Suite",
  "country": "Philippines",
  "industry": "Hospital Public",
  "visitingPurpose": "For purchasing purposes, To meet new suppliers",
  "businessMatchingInterest": true,
  "interestedProductsServices": "Medical Equipment/Endoscopes, Medical Equipment/Surgical Instruments, Medical Equipment/Life Support",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "conferenceInfoInterest": "Yes send me more info",
  "remarks": "CMO procuring modern surgical and endoscopy systems.",
  "createdAt": "2026-09-01T04:21:58.0627550",
  "firebaseUid": "MQkXncB4KPf1sIHgCKkFmKOfCrt2",
  "syncedToFirebase": true
}
2. Firebase Cloud Function (authHandler) cURL:
curl -i -X GET "https://match.ticket2u.com/auth?email=leo%40test.com&eventIds=51600&exp=1790828518&sig=49cc66a5ba84d3e1527aa72a2daf03e7cd645d115a912484e407e3ec188a4b57&ticketId=t2u-ph43by16"
3. Firebase Webhook (ticket2uProfileWebhook) cURL:
curl -i -X POST "https://match-ticket2u-com.firebaseapp.com/ticket2uProfileWebhook" \
  -H "Content-Type: application/json" \
  -d '{"email":"leo@test.com","eventId":"51600","ticketId":"t2u-ph43by16","fullName":"Leo Fernandez","company":"MediDevices Corp","industry":"Hospital Public","jobRole":"C-Suite","designation":"Chief Medical Officer","interestedProductsServices":"Medical Equipment/Endoscopes, Medical Equipment/Surgical Instruments, Medical Equipment/Life Support"}'
4. Firestore Documents Payload (users/{uid} & events/{eventId}/registrations/{uid}):
// users/MQkXncB4KPf1sIHgCKkFmKOfCrt2:
{
  "uid": "MQkXncB4KPf1sIHgCKkFmKOfCrt2",
  "email": "leo@test.com",
  "displayName": "Leo Fernandez",
  "company": "MediDevices Corp",
  "industry": "Hospital Public",
  "ticketId": "t2u-ph43by16",
  "ticket2uUserId": "t2u_usr_leo",
  "mobileNumber": "\u002B639171234567",
  "country": "Philippines",
  "jobRole": "C-Suite",
  "designation": "Chief Medical Officer",
  "visitingPurpose": "For purchasing purposes, To meet new suppliers",
  "businessMatchingInterest": true,
  "interestedProductsServices": "Medical Equipment/Endoscopes, Medical Equipment/Surgical Instruments, Medical Equipment/Life Support",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "remarks": "CMO procuring modern surgical and endoscopy systems.",
  "syncedAt": "2026-11-23T23:13:10.4399710Z"
}

// events/51600/registrations/MQkXncB4KPf1sIHgCKkFmKOfCrt2:
{
  "eventId": "51600",
  "companyName": "MediDevices Corp",
  "displayName": "Leo Fernandez",
  "email": "leo@test.com",
  "industry": "Hospital Public",
  "jobRole": "C-Suite",
  "designation": "Chief Medical Officer",
  "ticketId": "t2u-ph43by16",
  "ticket2uUserId": "t2u_usr_leo",
  "ticket2uRegistrationId": "64581a33442e4d7388a09a019834e074",
  "offeringTags": [
    "Medical Equipment/Endoscopes",
    "Medical Equipment/Surgical Instruments",
    "Medical Equipment/Life Support"
  ],
  "lookingForTags": [
    "Medical Equipment/Endoscopes",
    "Medical Equipment/Surgical Instruments",
    "Medical Equipment/Life Support"
  ],
  "shareAvailability": true,
  "businessMatchingInterest": true,
  "interestedProductsServices": "Medical Equipment/Endoscopes, Medical Equipment/Surgical Instruments, Medical Equipment/Life Support",
  "consentGiven": true,
  "howDidYouKnow": "Website",
  "remarks": "CMO procuring modern surgical and endoscopy systems.",
  "agenda": [],
  "updatedAt": "2026-11-23T23:13:10.4400121Z",
  "createdAt": "2026-09-01T04:21:58.0627550"
}

๐Ÿš€ 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.eyJ1aWQiOiJNUWtYbmNCNEtQZjFzSUhnQ0trRm1LT2ZDcnQyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXBoNDNieTE2IiwiZW1haWwiOiJsZW9AdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk3MCwiaWF0IjoxNzg5NzI2MzcwfQ.5m1qga3XKuHZpk23ktZ-jWBsi-ytwDUsKgErKeEibMBdpi5LN3wjg7P2Tik4RrlwSZf9iO-H0AmU3EG2s_mkuFlc6Jc4JxQqXZG39HYCgS_fpTZU4GKILERR3KEkvzPebNKGDNPE7D5Kx2hDXSAq8FB02-anNsVlS3BWGJ0aU-HBlap16L8nq8CHT4X0F4fg-jo9kkrlJVAo_U1TZeyK90zkLsexNHAzR59k2b1v17he95Vt5UpkP5rqlmCUhW3YIhDq2CbVFC-EdjulzYArFd3FLN0soM-e8wmJhteXLk7u04EW76DIx2KFha7WZTSPsvRYibuZXIzgHgehTkVhUg
โ˜๏ธ 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=leo%40test.com&eventIds=51600&exp=1790828518&sig=49cc66a5ba84d3e1527aa72a2daf03e7cd645d115a912484e407e3ec188a4b57&ticketId=t2u-ph43by16
๐Ÿ“ฑ 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.eyJ1aWQiOiJNUWtYbmNCNEtQZjFzSUhnQ0trRm1LT2ZDcnQyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXBoNDNieTE2IiwiZW1haWwiOiJsZW9AdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk3MCwiaWF0IjoxNzg5NzI2MzcwfQ.5m1qga3XKuHZpk23ktZ-jWBsi-ytwDUsKgErKeEibMBdpi5LN3wjg7P2Tik4RrlwSZf9iO-H0AmU3EG2s_mkuFlc6Jc4JxQqXZG39HYCgS_fpTZU4GKILERR3KEkvzPebNKGDNPE7D5Kx2hDXSAq8FB02-anNsVlS3BWGJ0aU-HBlap16L8nq8CHT4X0F4fg-jo9kkrlJVAo_U1TZeyK90zkLsexNHAzR59k2b1v17he95Vt5UpkP5rqlmCUhW3YIhDq2CbVFC-EdjulzYArFd3FLN0soM-e8wmJhteXLk7u04EW76DIx2KFha7WZTSPsvRYibuZXIzgHgehTkVhUg"
adb shell am start -a android.intent.action.VIEW -d "business-matching://app/auth?customToken=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJNUWtYbmNCNEtQZjFzSUhnQ0trRm1LT2ZDcnQyIiwiY2xhaW1zIjp7ImV2ZW50SWRzIjpbIjUxNjAwIl0sInRpY2tldElkIjoidDJ1LXBoNDNieTE2IiwiZW1haWwiOiJsZW9AdGVzdC5jb20ifSwiaXNzIjoiZmlyZWJhc2UtYWRtaW5zZGstZmJzdmNAdDJ1LXFtcy5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLWZic3ZjQHQydS1xbXMuaWFtLmdzZXJ2aWNlYWNjb3VudC5jb20iLCJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImV4cCI6MTc4OTcyOTk3MCwiaWF0IjoxNzg5NzI2MzcwfQ.5m1qga3XKuHZpk23ktZ-jWBsi-ytwDUsKgErKeEibMBdpi5LN3wjg7P2Tik4RrlwSZf9iO-H0AmU3EG2s_mkuFlc6Jc4JxQqXZG39HYCgS_fpTZU4GKILERR3KEkvzPebNKGDNPE7D5Kx2hDXSAq8FB02-anNsVlS3BWGJ0aU-HBlap16L8nq8CHT4X0F4fg-jo9kkrlJVAo_U1TZeyK90zkLsexNHAzR59k2b1v17he95Vt5UpkP5rqlmCUhW3YIhDq2CbVFC-EdjulzYArFd3FLN0soM-e8wmJhteXLk7u04EW76DIx2KFha7WZTSPsvRYibuZXIzgHgehTkVhUg"

๐Ÿ“ง Simulated Ticket2U Confirmation Email Preview:

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

Dear Leo Fernandez,

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-ph43by16
QR Code
Click above or scan QR code on your phone to open the Business Matching platform
Company: MediDevices Corp
Job Role / Title: C-Suite • Chief Medical Officer
Industry: Hospital Public
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!