Home › Forums › Event Espresso Premium › How to obtain a Custom Field value for an event using the API?
Posted: January 1, 2021 at 7:02 pm
EE4 Personal License
January 1, 2021 at 7:02 pm
I have defined a custom field named OnlineURL for an event as shown in the picture.
How do I obtain this using the API? I am able to get many Event fields, but cannot figure out where this field value is stored.
January 1, 2021 at 7:03 pm
Link to the image is here
January 4, 2021 at 5:09 am
Which API are you referring to? REST API?
If so you’ll need to send an authenticated request to:
Is that what you are looking for?
January 10, 2021 at 6:58 pm
Yes, the REST API.
Is there an easy guide to REST API authentication?
January 11, 2021 at 7:48 am
You send an additional ‘Authorization’ with the username:password base64 encoded like so:
'Authorization' => 'Basic ' . base64_encode( 'username:password' )
There some details here:
You must be logged in to reply to this support post. Sign In or Register for an Account
Updated by Tony 2 weeks ago ago
Tagged: api, custom field