Help with API workflow

36 views
Skip to first unread message

b...@perciaccante.net

unread,
Feb 25, 2018, 3:59:12 PM2/25/18
to Eventbrite API
I am working on a large-ish event that has a lot of custom questions.  What I am trying to find is the process for running a query for a specific attendee, getting their question results (maybe only one or two of the 40) so I can edit it and POST the edit back up.

I am more than willing to read the manual, but I am not entirely sure the "human" flow.  It looks like I need a query against the attendees to find the person and their answers, but which target do I use?  I tried /v3/events/id/attendees but doesn't seem I an search from there.

Assisance is appreciated!

Bob

Chris Cummings

unread,
Feb 27, 2018, 2:33:50 PM2/27/18
to Eventbrite API
Hi Bob,

Getting the answers for a specific attendee can be done on the event attendees end point. An attendee object will have a "questions" field that is an array of objects describing the question and answer.

You cannot, however, save or update attendee answer data via the api. It's an open feature request, but I can't speak to when or if that will be implemented.

Here's an example request and response:
curl "https://www.eventbriteapi.com/v3/events/:id/attendees/:id/?token=YOUR-TOKEN"
>>> {...attendee-data,
            questions: [{"answer": "text", "question": "question prompt text", "question_id': "123"}],
       ...}
Reply all
Reply to author
Forward
0 new messages