Send guest report

Email a guest list or sales report of an event.

POST https://cotlet.dev/api/v1/billetto/events/{event_id}/guest-reports

write Confirm

Does what Guest list & reports > Send via email does. report is one of guest_list_simple (order ID, name, ticket ID), guest_list_detailed (name and email, order ID, number of tickets, answers to purchase questions, access codes), email_list, newsletter_signup (consent and email) or sales_report. The report goes to the address you give, so the guest data leaves Billetto. Events with more than 5,000 attendees may take longer. from and to are optional; without them all data is included. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_guest_report
NameTypeDescription
event_id string required string Event ID from list_events.
report string required string guest_list_simple, guest_list_detailed, email_list, newsletter_signup or sales_report.
email string required string Recipient address.
from date date First day of the date range.
to date date Last day of the date range.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/billetto/events/1204551/guest-reports \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"report":"guest_list_detailed","email":"door@example.com"}'
Python
result = client.call("billetto", "send_guest_report", {"event_id":"1204551","report":"guest_list_detailed","email":"door@example.com"})
Node.js
const result = await cotlet.call('billetto', 'send_guest_report', {"event_id":"1204551","report":"guest_list_detailed","email":"door@example.com"});
CLI
cotlet call billetto send_guest_report --data '{"event_id":"1204551","report":"guest_list_detailed","email":"door@example.com"}'

Example response

JSON

{
  "event_id": "1204551",
  "report": "guest_list_detailed",
  "sent_to": "door@example.com",
  "status": "sent"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.