List attendees
The guests of one event with ticket type and scan state.
GET https://cotlet.dev/api/v1/billetto/events/{event_id}/attendees
read
Lists the tickets of one event as in Attendees > Manage Tickets: guest name, ticket type, order_id and whether the ticket was scanned at the door. Order is by purchase, newest first. Use it to answer "who is coming", and send_guest_report when the venue needs a file.
Parameters
| Name | Type | Description |
|---|---|---|
| event_id string required | string | Event ID from list_events. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/billetto/events/event_8c41d2/attendees \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("billetto", "list_attendees", {"event_id":"event_8c41d2"}) const result = await cotlet.call('billetto', 'list_attendees', {"event_id":"event_8c41d2"}); cotlet call billetto list_attendees --data '{"event_id":"event_8c41d2"}' Example response
{
"event_id": "1204551",
"attendees": [
{
"ticket_id": "48210331",
"name": "Maria Jensen",
"ticket_type": "General admission",
"order_id": "9035127",
"scanned": false
},
{
"ticket_id": "48210333",
"name": "Maria Jensen",
"ticket_type": "Student",
"order_id": "9035127",
"scanned": false
}
],
"next_cursor": null
}