Support

Home Forums Event Espresso Premium get attendees details based on eventid through json rest api

get attendees details based on eventid through json rest api

Posted: September 12, 2015 at 11:42 am

Viewing 1 reply thread


Alan Coyne

September 12, 2015 at 11:42 am

I am trying to get the attendees,registrations,questions,etc details from event id through ee json rest api.
http://v2.iregister.ie/wp-json/ee/v4.6/events/638/attendees
But it gives me below error :
[{“code”:”json_attendees_cannot_list”,”message”:”Sorry, you are not allowed to list attendees related to Attendee. Missing permissions: ee_read_contacts”}]


Josh

  • Support Staff

September 14, 2015 at 9:45 am

Hi Alan,

It turns out Attendees (contacts) are protected custom post type models and requires authentication. You can gather some information about authentication in the JSON API developer documentation:

http://developer.eventespresso.com/docs/ee4-json-rest-api-documentation/#Authentication

As well as general documentation here:

http://wp-api.org/guides/authentication.html

Viewing 1 reply thread

The support post ‘get attendees details based on eventid through json rest api’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso