Un billet d’événement au design audacieux façon concert. Il comporte le nom de l’événement, la date, les horaires d’ouverture des portes et du spectacle, le lieu, la section, la rangée et le siège, le type et le prix du billet, des consignes d’entrée, les informations de l’acheteur et de la commande, et un QR code scanné à l’entrée. Téléchargez le fichier Word pour l’adapter à votre événement, puis générez un billet pour chaque place.
Importez le modèle, puis envoyez les données structurées pour obtenir le document final. Pensez à remplacer YOUR_API_KEY par votre clé unique et YOUR_TEMPLATE_ID par l'ID de votre modèle.
Envoyez un tableau d'objets JSON et recevez un document par objet, dans une archive ZIP. Utilisez le paramètre output_name pour nommer chaque fichier avec les balises de fusion de votre modèle.
curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"data": {
"event_type": "LIVE IN CONCERT",
"event_name": "NEON NIGHTS FESTIVAL",
"event_subtitle": "Skyline Collective + special guests",
"event_date": "Saturday, November 14, 2026",
"doors_time": "6:30 PM",
"show_time": "8:00 PM",
"venue_name": "Harbor Pavilion",
"venue_address": "1 Pier Road, Boston, MA 02210",
"section": "B",
"row_number": "12",
"seat": "24",
"price": "89.00",
"currency": "USD",
"ticket_code": "NNF-2026-B12-24-7Q3K9",
"ticket_number": "NNF-0048213",
"ticket_type": "Reserved seating",
"notes": [
"Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.",
"Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.",
"Bags larger than A4 and professional cameras are not allowed."
],
"order_number": "#48213",
"buyer_name": "Jordan Ellis",
"purchase_date": "October 2, 2026"
}
}' curl -X 'POST' \
'https://api.docugenerate.com/v1/document' \
-H 'Accept: application/json' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"template_id": "YOUR_TEMPLATE_ID",
"output_format": ".pdf",
"single_file": false,
"output_name": "Event Ticket [ticket_number]",
"data": [
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "B", "row_number": "12", "seat": "24", "price": "89.00", "currency": "USD", "ticket_code": "NNF-2026-B12-24-7Q3K9", "ticket_number": "NNF-0048213", "ticket_type": "Reserved seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48213", "buyer_name": "Jordan Ellis", "purchase_date": "October 2, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "B", "row_number": "12", "seat": "25", "price": "89.00", "currency": "USD", "ticket_code": "NNF-2026-B12-25-4H8TD", "ticket_number": "NNF-0048214", "ticket_type": "Reserved seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48213", "buyer_name": "Jordan Ellis", "purchase_date": "October 2, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "A", "row_number": "3", "seat": "8", "price": "129.00", "currency": "USD", "ticket_code": "NNF-2026-A3-8-2M6WP", "ticket_number": "NNF-0048245", "ticket_type": "Premium seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48245", "buyer_name": "Mei Tanaka", "purchase_date": "October 5, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "A", "row_number": "3", "seat": "9", "price": "129.00", "currency": "USD", "ticket_code": "NNF-2026-A3-9-9C1QZ", "ticket_number": "NNF-0048246", "ticket_type": "Premium seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48245", "buyer_name": "Mei Tanaka", "purchase_date": "October 5, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "C", "row_number": "7", "seat": "15", "price": "89.00", "currency": "USD", "ticket_code": "NNF-2026-C7-15-6X4RN", "ticket_number": "NNF-0048290", "ticket_type": "Reserved seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48290", "buyer_name": "Carlos Mendoza", "purchase_date": "October 9, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "GA", "row_number": "-", "seat": "-", "price": "59.00", "currency": "USD", "ticket_code": "NNF-2026-GA-0311-8B5KV", "ticket_number": "NNF-0048311", "ticket_type": "General admission", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48311", "buyer_name": "Hannah Weiss", "purchase_date": "October 11, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "GA", "row_number": "-", "seat": "-", "price": "59.00", "currency": "USD", "ticket_code": "NNF-2026-GA-0327-3F7JA", "ticket_number": "NNF-0048327", "ticket_type": "General admission", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48327", "buyer_name": "Omar Rahman", "purchase_date": "October 12, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "VIP", "row_number": "1", "seat": "4", "price": "199.00", "currency": "USD", "ticket_code": "NNF-2026-VIP1-4-5T2YE", "ticket_number": "NNF-0048352", "ticket_type": "VIP package", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48352", "buyer_name": "Sophie Laurent", "purchase_date": "October 14, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "D", "row_number": "18", "seat": "31", "price": "89.00", "currency": "USD", "ticket_code": "NNF-2026-D18-31-1N9GU", "ticket_number": "NNF-0048378", "ticket_type": "Reserved seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48378", "buyer_name": "Daniel Okafor", "purchase_date": "October 16, 2026" },
{ "event_type": "LIVE IN CONCERT", "event_name": "NEON NIGHTS FESTIVAL", "event_subtitle": "Skyline Collective + special guests", "event_date": "Saturday, November 14, 2026", "doors_time": "6:30 PM", "show_time": "8:00 PM", "venue_name": "Harbor Pavilion", "venue_address": "1 Pier Road, Boston, MA 02210", "section": "B", "row_number": "14", "seat": "6", "price": "89.00", "currency": "USD", "ticket_code": "NNF-2026-B14-6-7S3LH", "ticket_number": "NNF-0048399", "ticket_type": "Reserved seating", "notes": ["Show this ticket on your phone or printed. The QR code is scanned once, at the entrance.","Doors open at 6:30 PM. Re-entry is not permitted once you have left the venue.","Bags larger than A4 and professional cameras are not allowed."], "order_number": "#48399", "buyer_name": "Aisha Rahman", "purchase_date": "October 19, 2026" }
]
}' Questions fréquentes sur nos modèles de billets
Démarrez avec 20 documents gratuits par mois et nos modèles de billets prêts à l'emploi.