The AddEvent API uses API keys to authenticate requests. You can view the API key for your account in the AddEvent dashboard.

Your API key carries many privileges, so be sure to keep it secure. Don't share your API key in publicly accessible areas such as GitHub, client-side code, and so forth.

Authentication to the API is performed with HTTP Bearer Authentication. Provide your API key in the Authorization header when making a request, as follows:

Authorization: Bearer <apiKey>

For example:

curl --request GET \
     --url https://api.addevent.com/calevent/v2/events \
     --header 'accept: application/json' \
     --header 'authorization: Bearer api123456ewAnQoWaLCYNF8jSdl567890'

You should make all API calls over HTTPS. Calls that you make over plain HTTP will be redirected to use HTTPS. API requests without authentication will fail.