I did mine a little different but it works....
If you know the event ID you can look us the registrants straight off, if no use this to find an event or events and recurse through them, you'll need to set your filter
https://api.wildapricot.org/v2.2/accounts/<your accountid>/events?$filter=
I did mine a little different but it works....
If you know the event ID you can look us the registrants straight off, if no use this to find an event or events and recurse through them, you'll need to set your filter
https://api.wildapricot.org/v2.2/accounts/<your accountid>/events?$filter=
once you have the event id you can bring up the registrations for each event
https://api.wildapricot.org/v2.2/accounts/223967/eventregistrations?eventid=?<event id>
This holds some basic info on the contact, but if you need more it also hold the url for the contact so you can get the full contact record.