Back to top

POST - Introduction

The EILAPI let you post data to the eventsinluxembourg database. It's a RESTful Web Service API, based ont the REST API in Drupal 8, that apps and websites can use to programmatically submit events and venues.


  • The data must be submitted in JSON format.
  • To submit events or venues you need to include an API key accessible in your MyEvents account on the API page.

How to submit an Event or Venue to the EILAPI?

To post the data to the API the following URL has to be called using a HTTP library, such as cURL and urllib.

This is the schema which has to be used:[API key]

You need to include an X-CSRF-Token in the header avaible at

Upon successful creation of an event or venue you get among others the field "nid" returned.
This is the id of your event / venue and is needed if you need to update your content.