{
  "info": {
    "_postman_id": "7e0c578a-e9ac-4860-a12a-21b7787841f0",
    "name": "Coconut Trade Fair API",
    "description": "Coconut Trade Fair backend API. Core event flow: register -> emailed/displayed registration QR -> badge_printer or admin Self Check-in creates or reuses the badge QR -> public badge profile lookup is read-only -> scanner or admin Entrance records attendance once. Assisted and kiosk registrations use the same registration endpoint and direct badge issuance path. Email recovery, admin/monitoring APIs, staff authentication, dynamic registration-field management, normalized email lookup/resend behavior, and rate limits are documented separately.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "55062461",
    "_collection_link": "https://go.postman.co/collection/55062461-7e0c578a-e9ac-4860-a12a-21b7787841f0?source=collection_link"
  },
  "item": [
    {
      "name": "Staff Auth",
      "item": [
        {
          "name": "Login - Admin",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"username\": \"{{adminUsername}}\",\n  \"password\": \"{{adminPassword}}\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "login"
              ]
            },
            "description": "Public staff-authentication request for the Admin role. Store data.token from the successful response in {{adminToken}}. Login attempts are rate-limited per IP."
          },
          "response": [
            {
              "name": "200 Login successful (admin)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{adminUsername}}\",\n  \"password\": \"{{adminPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Admin role. Store data.token from the successful response in {{adminToken}}. Login attempts are rate-limited per IP."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "120",
              "body": "{\n  \"success\": true,\n  \"message\": \"Login successful.\",\n  \"data\": {\n    \"token\": \"<admin-jwt-token>\",\n    \"user\": {\n      \"id\": 1,\n      \"username\": \"admin\",\n      \"full_name\": \"Administrator\",\n      \"role\": \"admin\",\n      \"counter_number\": null\n    }\n  }\n}"
            },
            {
              "name": "401 Invalid admin credentials",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{adminUsername}}\",\n  \"password\": \"{{adminPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Admin role. Store data.token from the successful response in {{adminToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "90",
              "body": "{\n  \"success\": false,\n  \"message\": \"Invalid username or password.\"\n}"
            },
            {
              "name": "400 Login fields missing",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{adminUsername}}\",\n  \"password\": \"{{adminPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Admin role. Store data.token from the successful response in {{adminToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "40",
              "body": "{\n  \"success\": false,\n  \"message\": \"Username and password are required.\"\n}"
            },
            {
              "name": "429 Login rate limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{adminUsername}}\",\n  \"password\": \"{{adminPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Admin role. Store data.token from the successful response in {{adminToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "77fb0801-b368-4202-beaf-1d1d4a24b2fb"
        },
        {
          "name": "Login - Badge Printer",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"username\": \"{{badgePrinterUsername}}\",\n  \"password\": \"{{badgePrinterPassword}}\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "login"
              ]
            },
            "description": "Public staff-authentication request for the Badge Printer role. Store data.token from the successful response in {{badgePrinterToken}}. Login attempts are rate-limited per IP."
          },
          "response": [
            {
              "name": "200 Login successful (badge_printer)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{badgePrinterUsername}}\",\n  \"password\": \"{{badgePrinterPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Badge Printer role. Store data.token from the successful response in {{badgePrinterToken}}. Login attempts are rate-limited per IP."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "120",
              "body": "{\n  \"success\": true,\n  \"message\": \"Login successful.\",\n  \"data\": {\n    \"token\": \"<badge-printer-jwt-token>\",\n    \"user\": {\n      \"id\": 2,\n      \"username\": \"badge-printer\",\n      \"full_name\": \"Badge Printer\",\n      \"role\": \"badge_printer\",\n      \"counter_number\": \"BP-01\"\n    }\n  }\n}"
            },
            {
              "name": "401 Invalid badge-printer credentials",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{badgePrinterUsername}}\",\n  \"password\": \"{{badgePrinterPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Badge Printer role. Store data.token from the successful response in {{badgePrinterToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "90",
              "body": "{\n  \"success\": false,\n  \"message\": \"Invalid username or password.\"\n}"
            },
            {
              "name": "400 Badge-printer login fields missing",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{badgePrinterUsername}}\",\n  \"password\": \"{{badgePrinterPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Badge Printer role. Store data.token from the successful response in {{badgePrinterToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "40",
              "body": "{\n  \"success\": false,\n  \"message\": \"Username and password are required.\"\n}"
            },
            {
              "name": "429 Badge-printer login rate limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{badgePrinterUsername}}\",\n  \"password\": \"{{badgePrinterPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Badge Printer role. Store data.token from the successful response in {{badgePrinterToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "ddfe8420-eb8a-4cbf-a897-a22f2d061c0c"
        },
        {
          "name": "Login - Scanner",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"username\": \"{{scannerUsername}}\",\n  \"password\": \"{{scannerPassword}}\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "login"
              ]
            },
            "description": "Public staff-authentication request for the Scanner role. Store data.token from the successful response in {{scannerToken}}. Login attempts are rate-limited per IP."
          },
          "response": [
            {
              "name": "200 Login successful (scanner)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{scannerUsername}}\",\n  \"password\": \"{{scannerPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Scanner role. Store data.token from the successful response in {{scannerToken}}. Login attempts are rate-limited per IP."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "120",
              "body": "{\n  \"success\": true,\n  \"message\": \"Login successful.\",\n  \"data\": {\n    \"token\": \"<scanner-jwt-token>\",\n    \"user\": {\n      \"id\": 3,\n      \"username\": \"scanner\",\n      \"full_name\": \"Entrance Scanner\",\n      \"role\": \"scanner\",\n      \"counter_number\": \"SC-01\"\n    }\n  }\n}"
            },
            {
              "name": "401 Invalid scanner credentials",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{scannerUsername}}\",\n  \"password\": \"{{scannerPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Scanner role. Store data.token from the successful response in {{scannerToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "90",
              "body": "{\n  \"success\": false,\n  \"message\": \"Invalid username or password.\"\n}"
            },
            {
              "name": "400 Scanner login fields missing",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{scannerUsername}}\",\n  \"password\": \"{{scannerPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Scanner role. Store data.token from the successful response in {{scannerToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "40",
              "body": "{\n  \"success\": false,\n  \"message\": \"Username and password are required.\"\n}"
            },
            {
              "name": "429 Scanner login rate limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"username\": \"{{scannerUsername}}\",\n  \"password\": \"{{scannerPassword}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/login",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "login"
                  ]
                },
                "description": "Public staff-authentication request for the Scanner role. Store data.token from the successful response in {{scannerToken}}. Login attempts are rate-limited per IP."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "2b54ef45-abd5-44fa-b95e-022cc2aa306d"
        },
        {
          "name": "Me - Admin",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "me"
              ]
            },
            "description": "Returns the authenticated Admin staff account from {{adminToken}}. This endpoint requires any valid active staff JWT and does not require the admin role specifically."
          },
          "response": [
            {
              "name": "200 Current admin staff user",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Admin staff account from {{adminToken}}. This endpoint requires any valid active staff JWT and does not require the admin role specifically."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "80",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"username\": \"admin\",\n    \"full_name\": \"Administrator\",\n    \"role\": \"admin\",\n    \"counter_number\": null,\n    \"active\": true\n  }\n}"
            },
            {
              "name": "401 Missing Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Admin staff account from {{adminToken}}. This endpoint requires any valid active staff JWT and does not require the admin role specifically."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "401 Invalid or expired JWT",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Admin staff account from {{adminToken}}. This endpoint requires any valid active staff JWT and does not require the admin role specifically."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer <invalid-or-expired-jwt>"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            }
          ],
          "id": "c2c9442c-43de-43df-80cb-fe3f72d151d7"
        },
        {
          "name": "Me - Badge Printer",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{badgePrinterToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "me"
              ]
            },
            "description": "Returns the authenticated Badge Printer staff account from {{badgePrinterToken}}. This endpoint requires any valid active staff JWT and does not require the badge_printer role specifically."
          },
          "response": [
            {
              "name": "200 Current badge-printer staff user",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Badge Printer staff account from {{badgePrinterToken}}. This endpoint requires any valid active staff JWT and does not require the badge_printer role specifically."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{badgePrinterToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "80",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 2,\n    \"username\": \"badge-printer\",\n    \"full_name\": \"Badge Printer\",\n    \"role\": \"badge_printer\",\n    \"counter_number\": \"BP-01\",\n    \"active\": true\n  }\n}"
            },
            {
              "name": "401 Missing Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Badge Printer staff account from {{badgePrinterToken}}. This endpoint requires any valid active staff JWT and does not require the badge_printer role specifically."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            }
          ],
          "id": "2b2480c5-b8a2-4b49-802a-a8fe4b9f8cbf"
        },
        {
          "name": "Me - Scanner",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{scannerToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/me",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "me"
              ]
            },
            "description": "Returns the authenticated Scanner staff account from {{scannerToken}}. This endpoint requires any valid active staff JWT and does not require the scanner role specifically."
          },
          "response": [
            {
              "name": "200 Current scanner staff user",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Scanner staff account from {{scannerToken}}. This endpoint requires any valid active staff JWT and does not require the scanner role specifically."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "80",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 3,\n    \"username\": \"scanner\",\n    \"full_name\": \"Entrance Scanner\",\n    \"role\": \"scanner\",\n    \"counter_number\": \"SC-01\",\n    \"active\": true\n  }\n}"
            },
            {
              "name": "401 Missing Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/me",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "me"
                  ]
                },
                "description": "Returns the authenticated Scanner staff account from {{scannerToken}}. This endpoint requires any valid active staff JWT and does not require the scanner role specifically."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            }
          ],
          "id": "db2197e6-8ee8-4c27-aed8-515597d0aab5"
        },
        {
          "name": "Logout - Admin, Badge Printer, Scanner",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/staff-auth/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "staff-auth",
                "logout"
              ]
            },
            "description": "Stateless logout for Admin, Badge Printer, or Scanner. Send any valid active staff JWT in Authorization; the client completes logout by discarding its token."
          },
          "response": [
            {
              "name": "200 Logged out (any staff role)",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/logout",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "logout"
                  ]
                },
                "description": "Stateless logout for Admin, Badge Printer, or Scanner. Send any valid active staff JWT in Authorization; the client completes logout by discarding its token."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "30",
              "body": "{\n  \"success\": true,\n  \"message\": \"Logged out.\"\n}"
            },
            {
              "name": "401 Logout without Authorization",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/staff-auth/logout",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "staff-auth",
                    "logout"
                  ]
                },
                "description": "Stateless logout for Admin, Badge Printer, or Scanner. Send any valid active staff JWT in Authorization; the client completes logout by discarding its token."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            }
          ],
          "id": "5f67cd74-4d51-4dc5-b175-819ccfc84005"
        }
      ],
      "id": "b8366613-e44e-4415-b8e3-c088636e8019"
    },
    {
      "name": "Core Event Flow",
      "item": [
        {
          "name": "Register",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "register"
              ]
            },
            "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
          },
          "response": [
            {
              "name": "201 Registration submitted and email delivered",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "450",
              "body": "{\n  \"success\": true,\n  \"message\": \"Registration submitted successfully. Please check your email for your QR code.\",\n  \"data\": {\n    \"guid\": \"<registrant-guid>\",\n    \"ticketId\": \"CTF-2026-123456\",\n    \"source\": \"online\",\n    \"emailDelivered\": true,\n    \"registrationQr\": {\n      \"qrImageBase64\": \"<png-base64-data>\"\n    }\n  }\n}"
            },
            {
              "name": "400 First Name is required",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "35",
              "body": "{\n  \"success\": false,\n  \"message\": \"\\\"First Name\\\" is required.\"\n}"
            },
            {
              "name": "409 Duplicate active normalized email",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "45",
              "body": "{\n  \"success\": false,\n  \"message\": \"This email has already registered for the event.\"\n}"
            },
            {
              "name": "400 Invalid purpose value",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "35",
              "body": "{\n  \"success\": false,\n  \"message\": \"\\\"Purpose of Visit\\\" has an invalid value.\"\n}"
            },
            {
              "name": "400 Invalid mobile number format",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "35",
              "body": "{\n  \"success\": false,\n  \"message\": \"\\\"Mobile Number\\\" is not in a valid format.\"\n}"
            },
            {
              "name": "201 Registration persisted but email delivery failed",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "500",
              "body": "{\n  \"success\": true,\n  \"message\": \"Registration submitted, but we could not email your QR code. Please contact support.\",\n  \"data\": {\n    \"guid\": \"<registrant-guid>\",\n    \"ticketId\": \"CTF-2026-123456\",\n    \"source\": \"online\",\n    \"emailDelivered\": false,\n    \"registrationQr\": {\n      \"qrImageBase64\": \"<png-base64-data>\"\n    }\n  }\n}"
            },
            {
              "name": "429 Registration rate limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "description": "Public online attendee registration. Submit the active dynamic registration fields in responses. The current response returns guid, ticketId, source, emailDelivered, and for online registrations registrationQr.qrImageBase64. The endpoint is IP rate-limited and email lookup normalization uses trim + lowercase; duplicate addresses remain allowed."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "9347cac6-b5b7-4aba-8e33-1fcf5fb1e554"
        },
        {
          "name": "Self Check-in",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{badgePrinterToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/scan/registration/{{registrationHashedId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "scan",
                "registration",
                "{{registrationHashedId}}"
              ]
            },
            "description": "Badge issuance for online registrants. Available to badge_printer or admin using the Registration QR payload in {{registrationHashedId}} with {{badgePrinterToken}} or {{adminToken}}. Creates or reuses the attendee's single Badge QR and never records attendance. Save badge.referenceNumber to {{badgeReferenceNumber}}."
          },
          "response": [
            {
              "name": "200 Self Check-in created badge QR",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/registration/{{registrationHashedId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "registration",
                    "{{registrationHashedId}}"
                  ]
                },
                "description": "Badge issuance for online registrants. Available to badge_printer or admin using the Registration QR payload in {{registrationHashedId}} with {{badgePrinterToken}} or {{adminToken}}. Creates or reuses the attendee's single Badge QR and never records attendance. Save badge.referenceNumber to {{badgeReferenceNumber}}."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{badgePrinterToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "180",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"alreadyPrinted\": false,\n    \"ticketId\": \"CTF-2026-123456\",\n    \"printedAt\": \"2026-08-23T22:15:00.000Z\",\n    \"badge\": {\n      \"fullName\": \"Juan Dela Cruz\",\n      \"company\": \"Coco Farms PH\",\n      \"contact\": \"9171234567\",\n      \"referenceNumber\": \"CTF-BDG-123456\",\n      \"qrUrl\": \"https://ctf-integration.test/profile?p=CTF-BDG-123456\",\n      \"qrImageBase64\": \"<png-base64-data>\"\n    }\n  }\n}"
            },
            {
              "name": "401 Self Check-in without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/registration/{{registrationHashedId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "registration",
                    "{{registrationHashedId}}"
                  ]
                },
                "description": "Badge issuance for online registrants. Available to badge_printer or admin using the Registration QR payload in {{registrationHashedId}} with {{badgePrinterToken}} or {{adminToken}}. Creates or reuses the attendee's single Badge QR and never records attendance. Save badge.referenceNumber to {{badgeReferenceNumber}}."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Scanner role forbidden",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/registration/{{registrationHashedId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "registration",
                    "{{registrationHashedId}}"
                  ]
                },
                "description": "Forbidden example for the scanner role. Scanner cannot issue or print badges; badge_printer or admin is required."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Registration QR not found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/registration/{{registrationHashedId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "registration",
                    "{{registrationHashedId}}"
                  ]
                },
                "description": "Badge issuance for online registrants. Available to badge_printer or admin using the Registration QR payload in {{registrationHashedId}} with {{badgePrinterToken}} or {{adminToken}}. Creates or reuses the attendee's single Badge QR and never records attendance. Save badge.referenceNumber to {{badgeReferenceNumber}}."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{badgePrinterToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"QR code not found.\"\n}"
            }
          ],
          "id": "02a790df-b37c-4cf7-a6e1-06930e9e6125",
          "description": "Badge issuance for online registrants. Available to badge_printer or admin using the Registration QR payload in {{registrationHashedId}} with {{badgePrinterToken}} or {{adminToken}}. Creates or reuses the attendee's single Badge QR and never records attendance. Save badge.referenceNumber to {{badgeReferenceNumber}}."
        },
        {
          "name": "Public Profile",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/profile/{{badgeReferenceNumber}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "profile",
                "{{badgeReferenceNumber}}"
              ]
            },
            "description": "Public read-only badge profile lookup using {{badgeReferenceNumber}}. The allow-list intentionally excludes GUID, QR hashes, ticket ID, timestamps, raw responses, and internal attendance details; the current business-card profile includes email and mobileNumber."
          },
          "response": [
            {
              "name": "200 Public badge profile",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/profile/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "profile",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Public read-only badge profile lookup using {{badgeReferenceNumber}}. The allow-list intentionally excludes GUID, QR hashes, ticket ID, timestamps, raw responses, and internal attendance details; the current business-card profile includes email and mobileNumber."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "70",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"fullName\": \"Production SmokeTest\",\n    \"firstName\": \"Production\",\n    \"lastName\": \"SmokeTest\",\n    \"company\": \"CTF Smoke Test\",\n    \"position\": \"Tester\",\n    \"email\": \"smoke@example.com\",\n    \"mobileNumber\": \"9170000000\",\n    \"referenceNumber\": \"CTF-BDG-123456\"\n  }\n}"
            },
            {
              "name": "404 Badge profile not found",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/profile/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "profile",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Public read-only badge profile lookup using {{badgeReferenceNumber}}. The allow-list intentionally excludes GUID, QR hashes, ticket ID, timestamps, raw responses, and internal attendance details; the current business-card profile includes email and mobileNumber."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Badge not found.\"\n}"
            },
            {
              "name": "429 Public profile rate limit",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/profile/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "profile",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Public read-only badge profile lookup using {{badgeReferenceNumber}}. The allow-list intentionally excludes GUID, QR hashes, ticket ID, timestamps, raw responses, and internal attendance details; the current business-card profile includes email and mobileNumber."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "ff9ec8ed-eb6e-4122-a0ac-33d94823d87e"
        },
        {
          "name": "Entrance Scan",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{scannerToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "scan",
                "entrance",
                "{{badgeReferenceNumber}}"
              ]
            },
            "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
          },
          "response": [
            {
              "name": "200 Entrance scan recorded attendance",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "entrance",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "90",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"alreadyScanned\": false,\n    \"referenceNumber\": \"CTF-BDG-123456\",\n    \"dateAttended\": \"2026-08-23T22:20:00.000Z\",\n    \"scannedBy\": 3,\n    \"fullName\": \"Juan Dela Cruz\",\n    \"company\": \"Coco Farms PH\",\n    \"contact\": \"9171234567\",\n    \"email\": \"replace-with-real-email@example.com\"\n  }\n}"
            },
            {
              "name": "200 Entrance scan repeat is idempotent",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "entrance",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "50",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"alreadyScanned\": true,\n    \"referenceNumber\": \"CTF-BDG-123456\",\n    \"dateAttended\": \"2026-08-23T22:20:00.000Z\",\n    \"scannedBy\": 3,\n    \"fullName\": \"Juan Dela Cruz\",\n    \"company\": \"Coco Farms PH\",\n    \"contact\": \"9171234567\",\n    \"email\": \"replace-with-real-email@example.com\"\n  }\n}"
            },
            {
              "name": "401 Entrance scan without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "entrance",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Badge Printer role forbidden",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "entrance",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Forbidden example for the badge_printer role. badge_printer cannot perform entrance scans; scanner or admin is required."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{badgePrinterToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Badge QR not found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/scan/entrance/{{badgeReferenceNumber}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "scan",
                    "entrance",
                    "{{badgeReferenceNumber}}"
                  ]
                },
                "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Badge QR not found.\"\n}"
            }
          ],
          "id": "facb8521-5d37-4676-bd53-0dea9e82b32a",
          "description": "Entrance attendance scan using {{badgeReferenceNumber}}. Available to scanner or admin with {{scannerToken}} or {{adminToken}}. The first scan records attendance; repeat scans are idempotent and preserve the original timestamp. Profile lookup and badge issuance never record attendance."
        },
        {
          "name": "Duplicate Email - Case Variation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "register"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmailCaseVariant}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
            },
            "description": "Duplicate-email compatibility check. Use a case variation of the already-active smoke email; the backend must accept another registration and create a separate identity."
          },
          "response": [
            {
              "name": "409 Case variation rejected",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmailCaseVariant}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "description": "Duplicate-email compatibility check. Use a case variation of the already-active smoke email; the backend must accept another registration and create a separate identity."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": false,\n  \"message\": \"This email has already registered for the event.\"\n}"
            }
          ],
          "id": "ecf37200-301f-4520-8dc4-f97f3405c61e"
        },
        {
          "name": "Duplicate Email - Whitespace Variation",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "register"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmailWhitespaceVariant}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
            },
            "description": "Duplicate-email compatibility check. Use the same active smoke email surrounded by whitespace; trim + lowercase normalization is retained for lookup while another registration remains allowed."
          },
          "response": [
            {
              "name": "409 Whitespace variation rejected",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"online\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest\",\n    \"email\": \"{{attendeeEmailWhitespaceVariant}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "description": "Duplicate-email compatibility check. Use the same active smoke email surrounded by whitespace; trim + lowercase normalization is retained for lookup while another registration remains allowed."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": false,\n  \"message\": \"This email has already registered for the event.\"\n}"
            }
          ],
          "id": "22e17852-a0c0-4ae9-9dd9-e48bfa137a9a"
        },
        {
          "name": "Register - Assisted",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "register"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"assisted\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest Assisted\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
            },
            "description": "assisted registration uses the same public registration endpoint. After registration, badge_printer uses direct badge issuance; no Registration QR scan is required first. Deactivate the temporary record before reusing the smoke email for the next source."
          },
          "response": [
            {
              "name": "201 Registration created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"assisted\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest Assisted\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "description": "assisted registration uses the same public registration endpoint. After registration, badge_printer uses direct badge issuance; no Registration QR scan is required first. Deactivate the temporary record before reusing the smoke email for the next source."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"guid\": \"<registrant-guid>\",\n    \"ticketId\": \"CTF-2026-123456\",\n    \"source\": \"assisted\",\n    \"emailDelivered\": true\n  }\n}"
            }
          ],
          "id": "861951b1-4e46-4c14-96ef-54e865c7b1a0"
        },
        {
          "name": "Register - Kiosk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/register",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "register"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"source\": \"kiosk\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest Kiosk\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
            },
            "description": "kiosk registration uses the same public registration endpoint. After registration, badge_printer uses direct badge issuance; no Registration QR scan is required first. Deactivate the temporary record before reusing the smoke email for the next source."
          },
          "response": [
            {
              "name": "201 Registration created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/register",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "register"
                  ]
                },
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"source\": \"kiosk\",\n  \"responses\": {\n    \"first_name\": \"Production\",\n    \"last_name\": \"SmokeTest Kiosk\",\n    \"email\": \"{{attendeeEmail}}\",\n    \"mobile_number\": \"9170000000\",\n    \"company\": \"CTF Smoke Test\",\n    \"purpose_of_visit\": \"Others\",\n    \"position\": \"Tester\",\n    \"data_privacy_consent\": \"yes\"\n  }\n}"
                },
                "description": "kiosk registration uses the same public registration endpoint. After registration, badge_printer uses direct badge issuance; no Registration QR scan is required first. Deactivate the temporary record before reusing the smoke email for the next source."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"guid\": \"<registrant-guid>\",\n    \"ticketId\": \"CTF-2026-123456\",\n    \"source\": \"kiosk\",\n    \"emailDelivered\": true\n  }\n}"
            }
          ],
          "id": "b3c022cc-9c10-44fe-a450-3784a79b53c2"
        },
        {
          "name": "Direct Badge Issue - Assisted / Kiosk",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{badgePrinterToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/issue-badge",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "{{registrantGuid}}",
                "issue-badge"
              ]
            },
            "description": "Direct badge issuance for an active assisted or kiosk registrant. Available to badge_printer or admin with {{badgePrinterToken}} or {{adminToken}}. It creates or reuses the Badge QR and never records attendance. Online registrants are rejected with HTTP 403 by the controller."
          },
          "response": [
            {
              "name": "200 Badge issued or reused",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/issue-badge",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "issue-badge"
                  ]
                },
                "description": "Direct badge issuance for an active assisted or kiosk registrant. Available to badge_printer or admin with {{badgePrinterToken}} or {{adminToken}}. It creates or reuses the Badge QR and never records attendance. Online registrants are rejected with HTTP 403 by the controller."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"alreadyPrinted\": false,\n    \"ticketId\": \"CTF-2026-123456\",\n    \"printedAt\": \"2026-08-23T22:15:00.000Z\",\n    \"badge\": {\n      \"referenceNumber\": \"CTF-BDG-123456\",\n      \"qrUrl\": \"https://coconuttrade.api.toastweddingfair.ph/profile?p=CTF-BDG-123456\",\n      \"qrImageBase64\": \"<png-base64-data>\"\n    }\n  }\n}"
            },
            {
              "name": "401 Direct badge issue without Authorization",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/issue-badge",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "issue-badge"
                  ]
                },
                "description": "Direct badge issuance for an active assisted or kiosk registrant. Available to badge_printer or admin with {{badgePrinterToken}} or {{adminToken}}. It creates or reuses the Badge QR and never records attendance. Online registrants are rejected with HTTP 403 by the controller."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Scanner role forbidden",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{badgePrinterToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/issue-badge",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "issue-badge"
                  ]
                },
                "description": "Forbidden example for the scanner role. Scanner cannot issue or print badges; badge_printer or admin is required."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            }
          ],
          "id": "27b582cd-7ebc-4623-91f3-13c96eb6d4b5",
          "description": "Direct badge issuance for an active assisted or kiosk registrant. Available to badge_printer or admin with {{badgePrinterToken}} or {{adminToken}}. It creates or reuses the Badge QR and never records attendance. Online registrants are rejected with HTTP 403 by the controller."
        },
        {
          "name": "Health Check - API Root",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/",
              "host": [
                "{{baseUrl}}"
              ],
              "path": []
            },
            "description": "Unversioned application health endpoint. The reference collection keeps the API version in each request path, so this root request uses the host-only baseUrl."
          },
          "response": [
            {
              "name": "200 API is running",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": []
                },
                "description": "Unversioned application health endpoint. The reference collection keeps the API version in each request path, so this root request uses the host-only baseUrl."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": true,\n  \"message\": \"Coconut Trade Fair API is running.\"\n}"
            }
          ],
          "id": "88403f42-9f88-4293-9967-6b0eb4ea03a0"
        }
      ],
      "id": "c0cec9a2-a656-4379-a206-f9088b269ed1"
    },
    {
      "name": "Email Recovery",
      "item": [
        {
          "name": "Public Resend",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"email\": \"{{attendeeEmail}}\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/resend-email",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "resend-email"
              ]
            },
            "description": "Public email-recovery request. Supply an email address without authentication; after syntax validation the response is always generic to prevent account enumeration. IP and per-email cooldowns apply; it reuses the existing Registration QR identity."
          },
          "response": [
            {
              "name": "200 Public resend generic response",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{attendeeEmail}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "resend-email"
                  ]
                },
                "description": "Public email-recovery request. Supply an email address without authentication; after syntax validation the response is always generic to prevent account enumeration. IP and per-email cooldowns apply; it reuses the existing Registration QR identity."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "160",
              "body": "{\n  \"success\": true,\n  \"message\": \"If a registration exists for that email, a QR email will be sent.\"\n}"
            },
            {
              "name": "400 Invalid public resend email",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{attendeeEmail}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "resend-email"
                  ]
                },
                "description": "Public email-recovery request. Supply an email address without authentication; after syntax validation the response is always generic to prevent account enumeration. IP and per-email cooldowns apply; it reuses the existing Registration QR identity."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Invalid email address.\"\n}"
            },
            {
              "name": "429 Public resend IP rate limit",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"email\": \"{{attendeeEmail}}\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "resend-email"
                  ]
                },
                "description": "Public email-recovery request. Supply an email address without authentication; after syntax validation the response is always generic to prevent account enumeration. IP and per-email cooldowns apply; it reuses the existing Registration QR identity."
              },
              "status": "Too Many Requests",
              "code": 429,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "10",
              "body": "{\n  \"success\": false,\n  \"message\": \"Too many requests, please try again later.\"\n}"
            }
          ],
          "id": "ae6ed464-d1d3-4d37-8107-67d4f8657ea5"
        },
        {
          "name": "Admin Resend",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "{{registrantGuid}}",
                "resend-email"
              ]
            },
            "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
          },
          "response": [
            {
              "name": "200 Admin resend delivered",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "160",
              "body": "{\n  \"success\": true,\n  \"message\": \"Registration QR email resent.\",\n  \"data\": {\n    \"emailDelivered\": true\n  }\n}"
            },
            {
              "name": "401 Admin resend without Authorization",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Admin resend wrong role",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{scannerToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Registrant not found",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "30",
              "body": "{\n  \"success\": false,\n  \"message\": \"Registrant not found.\"\n}"
            },
            {
              "name": "409 Registration QR missing",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "Conflict",
              "code": 409,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "35",
              "body": "{\n  \"success\": false,\n  \"message\": \"Registrant has no registration QR (data inconsistency). No new QR was created.\"\n}"
            },
            {
              "name": "200 Admin resend delivery failed truthfully",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}/resend-email",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}",
                    "resend-email"
                  ]
                },
                "description": "Admin-only email recovery for a known {{registrantGuid}}. Use {{adminToken}}; the response reports truthful emailDelivered status and reuses the existing Registration QR identity. A missing QR fails with HTTP 409 instead of minting a new identity."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "500",
              "body": "{\n  \"success\": true,\n  \"message\": \"Registrant is still registered, but the email could not be delivered.\",\n  \"data\": {\n    \"emailDelivered\": false\n  }\n}"
            }
          ],
          "id": "aafc7813-771a-4daf-a82e-3c1199759774"
        }
      ],
      "id": "4b2c9fc8-c67e-4eb2-8315-3b7ddcba2f83"
    },
    {
      "name": "Admin / Monitoring",
      "item": [
        {
          "name": "List Registrants",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations?page=1&limit=10",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations"
              ],
              "query": [
                {
                  "key": "page",
                  "value": "1"
                },
                {
                  "key": "limit",
                  "value": "10"
                }
              ]
            },
            "description": "Admin-only paginated registrant list. Use {{adminToken}} with optional page and limit query parameters. Scanner and Badge Printer roles are not authorized."
          },
          "response": [
            {
              "name": "200 Registrant list",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations?page=1&limit=10",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "10"
                    }
                  ]
                },
                "description": "Admin-only paginated registrant list. Use {{adminToken}} with optional page and limit query parameters. Scanner and Badge Printer roles are not authorized."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "80",
              "body": "{\n  \"success\": true,\n  \"pagination\": {\n    \"totalItems\": 1,\n    \"totalPages\": 1,\n    \"currentPage\": 1\n  },\n  \"data\": [\n    {\n      \"id\": 1,\n      \"guid\": \"<registrant-guid>\",\n      \"fullName\": \"Juan Dela Cruz\",\n      \"email\": \"replace-with-real-email@example.com\",\n      \"mobileNumber\": \"9171234567\",\n      \"company\": \"Coco Farms PH\",\n      \"source\": \"online\",\n      \"active\": 1\n    }\n  ]\n}"
            },
            {
              "name": "401 List registrants without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations?page=1&limit=10",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "10"
                    }
                  ]
                },
                "description": "Admin-only paginated registrant list. Use {{adminToken}} with optional page and limit query parameters. Scanner and Badge Printer roles are not authorized."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 List registrants wrong role",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations?page=1&limit=10",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations"
                  ],
                  "query": [
                    {
                      "key": "page",
                      "value": "1"
                    },
                    {
                      "key": "limit",
                      "value": "10"
                    }
                  ]
                },
                "description": "Admin-only paginated registrant list. Use {{adminToken}} with optional page and limit query parameters. Scanner and Badge Printer roles are not authorized."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            }
          ],
          "id": "0aad2a0a-8aaf-4458-abcc-4548437a7e97"
        },
        {
          "name": "Get Registrant",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "{{registrantGuid}}"
              ]
            },
            "description": "Admin-only registrant detail lookup by {{registrantGuid}}. The response includes registration and badge QR metadata for operations; Scanner and Badge Printer roles are not authorized."
          },
          "response": [
            {
              "name": "200 Registrant details",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only registrant detail lookup by {{registrantGuid}}. The response includes registration and badge QR metadata for operations; Scanner and Badge Printer roles are not authorized."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "80",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"guid\": \"<registrant-guid>\",\n    \"fullName\": \"Juan Dela Cruz\",\n    \"email\": \"replace-with-real-email@example.com\",\n    \"mobileNumber\": \"9171234567\",\n    \"company\": \"Coco Farms PH\",\n    \"source\": \"online\",\n    \"active\": 1,\n    \"registrationQr\": {\n      \"ticketId\": \"CTF-2026-123456\",\n      \"printedAt\": \"2026-08-23T22:15:00.000Z\"\n    },\n    \"badgeQr\": {\n      \"referenceNumber\": \"CTF-BDG-123456\",\n      \"qrUrl\": \"https://ctf-integration.test/profile?p=CTF-BDG-123456\",\n      \"dateAttended\": \"2026-08-23T22:20:00.000Z\"\n    }\n  }\n}"
            },
            {
              "name": "401 Get registrant without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only registrant detail lookup by {{registrantGuid}}. The response includes registration and badge QR metadata for operations; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Get registrant wrong role",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only registrant detail lookup by {{registrantGuid}}. The response includes registration and badge QR metadata for operations; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Registrant not found",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only registrant detail lookup by {{registrantGuid}}. The response includes registration and badge QR metadata for operations; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Registrant not found.\"\n}"
            }
          ],
          "id": "8da98ac7-1530-40bd-97f4-b58cb61986ae"
        },
        {
          "name": "Recent Scans",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{scannerToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/recent-scans?limit=20",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "recent-scans"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "20"
                }
              ]
            },
            "description": "Operational recent-attendance list available to both Admin and Scanner roles. The example uses {{scannerToken}}; use {{adminToken}} for the same endpoint when operating as Admin."
          },
          "response": [
            {
              "name": "200 Recent scans (admin or scanner)",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/recent-scans?limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "recent-scans"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                },
                "description": "Operational recent-attendance list available to both Admin and Scanner roles. The example uses {{scannerToken}}; use {{adminToken}} for the same endpoint when operating as Admin."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "70",
              "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"referenceNumber\": \"CTF-BDG-123456\",\n      \"registrantGuid\": \"<registrant-guid>\",\n      \"fullName\": \"Juan Dela Cruz\",\n      \"company\": \"Coco Farms PH\",\n      \"dateAttended\": \"2026-08-23T22:20:00.000Z\"\n    }\n  ]\n}"
            },
            {
              "name": "401 Recent scans without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/recent-scans?limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "recent-scans"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                },
                "description": "Operational recent-attendance list available to both Admin and Scanner roles. The example uses {{scannerToken}}; use {{adminToken}} for the same endpoint when operating as Admin."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Recent scans wrong role",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{scannerToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/recent-scans?limit=20",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "recent-scans"
                  ],
                  "query": [
                    {
                      "key": "limit",
                      "value": "20"
                    }
                  ]
                },
                "description": "Operational recent-attendance list available to both Admin and Scanner roles. The example uses {{scannerToken}}; use {{adminToken}} for the same endpoint when operating as Admin."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{badgePrinterToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            }
          ],
          "id": "9abf591d-41fa-466b-bca2-d180aac958f6"
        },
        {
          "name": "Event Stats",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/stats",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "stats"
              ]
            },
            "description": "Operational event totals available to Admin and Scanner roles. Badge Printer is forbidden. The response contains totalRegistered, totalPrinted, and totalAttended."
          },
          "response": [
            {
              "name": "200 Event stats (admin or scanner)",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "stats"
                  ]
                },
                "description": "Operational event totals available to Admin and Scanner roles. Badge Printer is forbidden. The response contains totalRegistered, totalPrinted, and totalAttended."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "60",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"totalRegistered\": 1,\n    \"totalPrinted\": 1,\n    \"totalAttended\": 1\n  }\n}"
            },
            {
              "name": "403 Event stats badge printer forbidden",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "stats"
                  ]
                },
                "description": "Operational event totals available to Admin and Scanner roles. Badge Printer is forbidden. The response contains totalRegistered, totalPrinted, and totalAttended."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{badgePrinterToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "200 Event stats as scanner",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "stats"
                  ]
                },
                "description": "Operational event totals available to Admin and Scanner roles. Badge Printer is forbidden. The response contains totalRegistered, totalPrinted, and totalAttended."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "60",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"totalRegistered\": 1,\n    \"totalPrinted\": 1,\n    \"totalAttended\": 1\n  }\n}"
            },
            {
              "name": "401 Event stats without Authorization",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/stats",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "stats"
                  ]
                },
                "description": "Operational event totals available to Admin and Scanner roles. Badge Printer is forbidden. The response contains totalRegistered, totalPrinted, and totalAttended."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            }
          ],
          "id": "3632a559-13e9-4c69-ac21-42861976a4f0"
        },
        {
          "name": "Deactivate Registrant",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registrations",
                "{{registrantGuid}}"
              ]
            },
            "description": "Admin-only soft deletion of the registrant identified by {{registrantGuid}}. The backend marks the registrant inactive; Scanner and Badge Printer roles are not authorized."
          },
          "response": [
            {
              "name": "200 Registrant deactivated",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only soft deletion of the registrant identified by {{registrantGuid}}. The backend marks the registrant inactive; Scanner and Badge Printer roles are not authorized."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "70",
              "body": "{\n  \"success\": true,\n  \"message\": \"Registrant deleted.\"\n}"
            },
            {
              "name": "401 Deactivate registrant without Authorization",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only soft deletion of the registrant identified by {{registrantGuid}}. The backend marks the registrant inactive; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Deactivate registrant wrong role",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only soft deletion of the registrant identified by {{registrantGuid}}. The backend marks the registrant inactive; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Registrant not found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registrations/{{registrantGuid}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registrations",
                    "{{registrantGuid}}"
                  ]
                },
                "description": "Admin-only soft deletion of the registrant identified by {{registrantGuid}}. The backend marks the registrant inactive; Scanner and Badge Printer roles are not authorized."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Registrant not found.\"\n}"
            }
          ],
          "id": "57205ec2-227b-4321-946e-aaf94a094be4"
        }
      ],
      "id": "07e21430-42f4-4537-b173-06a34f01c1c1"
    },
    {
      "name": "Registration Fields",
      "item": [
        {
          "name": "Get Fields Including Inactive",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields?includeInactive=true",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields"
              ],
              "query": [
                {
                  "key": "includeInactive",
                  "value": "true"
                }
              ]
            },
            "description": "Public read-only operational view of active and inactive dynamic registration fields."
          },
          "response": [
            {
              "name": "200 All registration fields",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields?includeInactive=true",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ],
                  "query": [
                    {
                      "key": "includeInactive",
                      "value": "true"
                    }
                  ]
                },
                "description": "Public read-only operational view of active and inactive dynamic registration fields."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "100",
              "body": "{\n  \"success\": true,\n  \"data\": []\n}"
            }
          ],
          "id": "931951fa-cdf1-4640-81cc-b31229520009"
        },
        {
          "name": "Get Fields",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields"
              ]
            },
            "description": "Public retrieval of active registration-field definitions used by the form. Add includeInactive=true to include inactive definitions; no authentication is required for either read-only view."
          },
          "response": [
            {
              "name": "200 Active registration fields",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Public retrieval of active registration-field definitions used by the form. Add includeInactive=true to include inactive definitions; no authentication is required for either read-only view."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "60",
              "body": "{\n  \"success\": true,\n  \"data\": [\n    {\n      \"id\": 1,\n      \"fieldKey\": \"first_name\",\n      \"label\": \"First Name\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"firstName\",\n      \"active\": 1\n    },\n    {\n      \"id\": 2,\n      \"fieldKey\": \"last_name\",\n      \"label\": \"Last Name\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"lastName\",\n      \"active\": 1\n    },\n    {\n      \"id\": 3,\n      \"fieldKey\": \"email\",\n      \"label\": \"Email\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"email\",\n      \"active\": 1\n    },\n    {\n      \"id\": 4,\n      \"fieldKey\": \"mobile_number\",\n      \"label\": \"Mobile Number\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"mobileNumber\",\n      \"active\": 1\n    },\n    {\n      \"id\": 5,\n      \"fieldKey\": \"company\",\n      \"label\": \"Company\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"company\",\n      \"active\": 1\n    },\n    {\n      \"id\": 6,\n      \"fieldKey\": \"purpose_of_visit\",\n      \"label\": \"Purpose of Visit\",\n      \"fieldType\": \"radio\",\n      \"fieldRole\": \"none\",\n      \"active\": 1\n    },\n    {\n      \"id\": 7,\n      \"fieldKey\": \"position\",\n      \"label\": \"Position\",\n      \"fieldType\": \"text\",\n      \"fieldRole\": \"none\",\n      \"active\": 1\n    }\n  ]\n}"
            },
            {
              "name": "500 Registration fields internal error",
              "originalRequest": {
                "method": "GET",
                "header": [],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Public retrieval of active registration-field definitions used by the form. Add includeInactive=true to include inactive definitions; no authentication is required for either read-only view."
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "35",
              "body": "{\n  \"success\": false,\n  \"message\": \"Internal server error.\"\n}"
            }
          ],
          "id": "166e376f-cfd3-4264-8d18-cae4f67f0aca"
        },
        {
          "name": "Create",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"fieldKey\": \"t_shirt_size\",\n  \"label\": \"T-Shirt Size\",\n  \"fieldType\": \"radio\",\n  \"fieldRole\": \"none\",\n  \"options\": [\n    { \"label\": \"Small\", \"value\": \"S\" },\n    { \"label\": \"Medium\", \"value\": \"M\" },\n    { \"label\": \"Large\", \"value\": \"L\" }\n  ],\n  \"validation\": {},\n  \"displayOrder\": 7,\n  \"active\": true\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields"
              ]
            },
            "description": "Admin-only creation of a dynamic registration field. Use {{adminToken}} and preserve fieldKey uniqueness. Supported field types and roles are defined by the backend model; radio/checkbox fields may include options and validation."
          },
          "response": [
            {
              "name": "201 Registration field created",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fieldKey\": \"t_shirt_size\",\n  \"label\": \"T-Shirt Size\",\n  \"fieldType\": \"radio\",\n  \"fieldRole\": \"none\",\n  \"options\": [\n    { \"label\": \"Small\", \"value\": \"S\" },\n    { \"label\": \"Medium\", \"value\": \"M\" },\n    { \"label\": \"Large\", \"value\": \"L\" }\n  ],\n  \"validation\": {},\n  \"displayOrder\": 7,\n  \"active\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Admin-only creation of a dynamic registration field. Use {{adminToken}} and preserve fieldKey uniqueness. Supported field types and roles are defined by the backend model; radio/checkbox fields may include options and validation."
              },
              "status": "Created",
              "code": 201,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "70",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 8,\n    \"fieldKey\": \"t_shirt_size\",\n    \"label\": \"T-Shirt Size\",\n    \"fieldType\": \"radio\",\n    \"fieldRole\": \"none\",\n    \"displayOrder\": 7,\n    \"active\": true\n  }\n}"
            },
            {
              "name": "400 Create field inputs missing",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fieldKey\": \"t_shirt_size\",\n  \"label\": \"T-Shirt Size\",\n  \"fieldType\": \"radio\",\n  \"fieldRole\": \"none\",\n  \"options\": [\n    { \"label\": \"Small\", \"value\": \"S\" },\n    { \"label\": \"Medium\", \"value\": \"M\" },\n    { \"label\": \"Large\", \"value\": \"L\" }\n  ],\n  \"validation\": {},\n  \"displayOrder\": 7,\n  \"active\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Admin-only creation of a dynamic registration field. Use {{adminToken}} and preserve fieldKey uniqueness. Supported field types and roles are defined by the backend model; radio/checkbox fields may include options and validation."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"fieldKey, label, and fieldType are required.\"\n}"
            },
            {
              "name": "401 Create field without Authorization",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fieldKey\": \"t_shirt_size\",\n  \"label\": \"T-Shirt Size\",\n  \"fieldType\": \"radio\",\n  \"fieldRole\": \"none\",\n  \"options\": [\n    { \"label\": \"Small\", \"value\": \"S\" },\n    { \"label\": \"Medium\", \"value\": \"M\" },\n    { \"label\": \"Large\", \"value\": \"L\" }\n  ],\n  \"validation\": {},\n  \"displayOrder\": 7,\n  \"active\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Admin-only creation of a dynamic registration field. Use {{adminToken}} and preserve fieldKey uniqueness. Supported field types and roles are defined by the backend model; radio/checkbox fields may include options and validation."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Create field wrong role",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"fieldKey\": \"t_shirt_size\",\n  \"label\": \"T-Shirt Size\",\n  \"fieldType\": \"radio\",\n  \"fieldRole\": \"none\",\n  \"options\": [\n    { \"label\": \"Small\", \"value\": \"S\" },\n    { \"label\": \"Medium\", \"value\": \"M\" },\n    { \"label\": \"Large\", \"value\": \"L\" }\n  ],\n  \"validation\": {},\n  \"displayOrder\": 7,\n  \"active\": true\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields"
                  ]
                },
                "description": "Admin-only creation of a dynamic registration field. Use {{adminToken}} and preserve fieldKey uniqueness. Supported field types and roles are defined by the backend model; radio/checkbox fields may include options and validation."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            }
          ],
          "id": "e83d73bb-434e-4f74-9b36-ba9301501e3d"
        },
        {
          "name": "Update",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label\": \"Preferred T-Shirt Size\"\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields",
                "{{fieldId}}"
              ]
            },
            "description": "Admin-only update of the field identified by {{fieldId}}. This example changes the label while preserving the field's other configuration."
          },
          "response": [
            {
              "name": "200 Registration field updated",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"Preferred T-Shirt Size\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only update of the field identified by {{fieldId}}. This example changes the label while preserving the field's other configuration."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "60",
              "body": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 8,\n    \"fieldKey\": \"t_shirt_size\",\n    \"label\": \"Preferred T-Shirt Size\",\n    \"fieldType\": \"radio\",\n    \"fieldRole\": \"none\",\n    \"displayOrder\": 7,\n    \"active\": true\n  }\n}"
            },
            {
              "name": "401 Update field without Authorization",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"Preferred T-Shirt Size\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only update of the field identified by {{fieldId}}. This example changes the label while preserving the field's other configuration."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Update field wrong role",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"Preferred T-Shirt Size\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only update of the field identified by {{fieldId}}. This example changes the label while preserving the field's other configuration."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{scannerToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Field not found",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"label\": \"Preferred T-Shirt Size\"\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only update of the field identified by {{fieldId}}. This example changes the label while preserving the field's other configuration."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Field not found.\"\n}"
            }
          ],
          "id": "516cae5f-80b3-4943-b02e-c4811061053f"
        },
        {
          "name": "Reorder",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order\": {{fieldOrder}}\n}"
            },
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields/reorder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields",
                "reorder"
              ]
            },
            "description": "Admin-only reorder of registration fields. Set {{fieldOrder}} to a non-empty JSON array of field IDs in the desired display order."
          },
          "response": [
            {
              "name": "200 Registration fields reordered",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order\": {{fieldOrder}}\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/reorder",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "reorder"
                  ]
                },
                "description": "Admin-only reorder of registration fields. Set {{fieldOrder}} to a non-empty JSON array of field IDs in the desired display order."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                },
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "70",
              "body": "{\n  \"success\": true,\n  \"message\": \"Reordered.\"\n}"
            },
            {
              "name": "400 Reorder body invalid",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order\": {{fieldOrder}}\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/reorder",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "reorder"
                  ]
                },
                "description": "Admin-only reorder of registration fields. Set {{fieldOrder}} to a non-empty JSON array of field IDs in the desired display order."
              },
              "status": "Bad Request",
              "code": 400,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Body must include a non-empty 'order' array of field IDs.\"\n}"
            },
            {
              "name": "401 Reorder without Authorization",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order\": {{fieldOrder}}\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/reorder",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "reorder"
                  ]
                },
                "description": "Admin-only reorder of registration fields. Set {{fieldOrder}} to a non-empty JSON array of field IDs in the desired display order."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "application/json",
                  "key": "Content-Type"
                }
              ],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Reorder wrong role",
              "originalRequest": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"order\": {{fieldOrder}}\n}"
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/reorder",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "reorder"
                  ]
                },
                "description": "Admin-only reorder of registration fields. Set {{fieldOrder}} to a non-empty JSON array of field IDs in the desired display order."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            }
          ],
          "id": "d0794c0f-cef7-4391-bd33-e405c950d32f"
        },
        {
          "name": "Deactivate",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{adminToken}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "registration-fields",
                "{{fieldId}}"
              ]
            },
            "description": "Admin-only deactivation of the registration field identified by {{fieldId}}. Deactivation removes the field from the active public registration-field list without deleting its record."
          },
          "response": [
            {
              "name": "200 Registration field deactivated",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only deactivation of the registration field identified by {{fieldId}}. Deactivation removes the field from the active public registration-field list without deleting its record."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{adminToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "60",
              "body": "{\n  \"success\": true,\n  \"message\": \"Field deactivated.\"\n}"
            },
            {
              "name": "401 Deactivate field without Authorization",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only deactivation of the registration field identified by {{fieldId}}. Deactivation removes the field from the active public registration-field list without deleting its record."
              },
              "status": "Unauthorized",
              "code": 401,
              "_postman_previewlanguage": "json",
              "header": [],
              "cookie": [],
              "responseTime": "20",
              "body": "{\n  \"success\": false,\n  \"message\": \"Not authenticated\"\n}"
            },
            {
              "name": "403 Deactivate field wrong role",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only deactivation of the registration field identified by {{fieldId}}. Deactivation removes the field from the active public registration-field list without deleting its record."
              },
              "status": "Forbidden",
              "code": 403,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Authorization",
                  "value": "Bearer {{scannerToken}}"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Forbidden: insufficient role.\"\n}"
            },
            {
              "name": "404 Field not found",
              "originalRequest": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{adminToken}}"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/registration-fields/{{fieldId}}",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "registration-fields",
                    "{{fieldId}}"
                  ]
                },
                "description": "Admin-only deactivation of the registration field identified by {{fieldId}}. Deactivation removes the field from the active public registration-field list without deleting its record."
              },
              "status": "Not Found",
              "code": 404,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "value": "Bearer {{adminToken}}",
                  "key": "Authorization"
                }
              ],
              "cookie": [],
              "responseTime": "25",
              "body": "{\n  \"success\": false,\n  \"message\": \"Field not found.\"\n}"
            }
          ],
          "id": "0362bcf2-ab97-4eb8-aa6a-a06c9bef4761"
        }
      ],
      "id": "066e2d84-6059-4403-a8ae-face39a9083f"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://coconuttrade.api.toastweddingfair.ph",
      "description": "Host root for the deployed API. Request paths intentionally include /v1 to preserve the reference collection structure."
    },
    {
      "key": "adminUsername",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "adminPassword",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "badgePrinterUsername",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "badgePrinterPassword",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "scannerUsername",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "scannerPassword",
      "value": "",
      "description": "Supply through an external environment; keep production credentials out of the collection."
    },
    {
      "key": "adminToken",
      "value": "",
      "description": "Runtime JWT captured from Login - Admin; keep blank in the committed collection."
    },
    {
      "key": "badgePrinterToken",
      "value": "",
      "description": "Runtime JWT captured from Login - Badge Printer; keep blank in the committed collection."
    },
    {
      "key": "scannerToken",
      "value": "",
      "description": "Runtime JWT captured from Login - Scanner; keep blank in the committed collection."
    },
    {
      "key": "attendeeEmail",
      "value": "",
      "description": "Use one dedicated smoke-test mailbox supplied through an external environment."
    },
    {
      "key": "registrantGuid",
      "value": "",
      "description": "Runtime guid returned by registration; use only the temporary smoke registrant."
    },
    {
      "key": "registrationHashedId",
      "value": "",
      "description": "Registration QR payload used by Self Check-in. The current register response exposes qrImageBase64; decode it or derive the deployed hash contract externally."
    },
    {
      "key": "badgeReferenceNumber",
      "value": "",
      "description": "Runtime Badge QR referenceNumber returned by Self Check-in or direct badge issuance."
    },
    {
      "key": "fieldId",
      "value": "",
      "description": "Runtime registration-field ID obtained from the field list or create response."
    },
    {
      "key": "fieldOrder",
      "value": "[1,2,3,4,5,6,7]",
      "description": "JSON array of current field IDs in the desired display order."
    },
    {
      "key": "attendeeEmailCaseVariant",
      "value": "",
      "description": "Optional case variation of attendeeEmail for normalized-email lookup verification."
    },
    {
      "key": "attendeeEmailWhitespaceVariant",
      "value": "",
      "description": "Optional whitespace variation of attendeeEmail for normalized-email lookup verification."
    }
  ]
}
