/tickets with the required X-Qminder-API-Version header:
lineId- ID of the line to create the ticket infirstName- Visitor’s first name (2-50 characters)
lastName- Visitor’s last name (max 50 characters)phoneNumber- Phone number with optional + prefix (5-20 digits)email- Visitor’s email address (max 100 characters)languageCode- Language code, e.g. “en”, “es” (2-5 characters, default: “en”)source- MANUAL, NAME, or MICROSITE (default: MANUAL)fields- Array of custom input fields withinputFieldId(UUID) andvalue(max 500 characters) oroptionIdslabels- Array of labels withvalue
Input Fields
To use thefields parameter, you first need to discover the available input field IDs for the location. See the Input Fields query for details.
Error Responses
| Status | Description | Example |
|---|---|---|
| 400 | Validation failed | {"statusCode": 400, "message": "First name must not be empty or blank"} |
| 404 | Line, input fields, or language not found | {"message": "Line with id 123456 not found"} |
| 409 | Target line is disabled or archived | {"message": "Line with id 789 is disabled"} |