Skip to content

Connect your barrier

Want to connect a barrier we don’t support yet? You can do this yourself: create a new Camping.care app and connect it to your barrier.

It helps to understand how our App Store works. If you’re new to it, read the App Store documentation or follow our tutorial for Laravel or Vue.js.

Go to the App Store and create a new app. It needs to meet these requirements:

  1. The app category is access_control.
  2. The app has a logo and a description.
  3. The app has one or more webhooks using the license_plate.add, license_plate.update and license_plate.delete events.

Whenever a licence plate event is fired, we send a webhook to the URL you specified, for example:

https://your-app-url/api/webhook-url

With the request we send the following parameters:

  • app_id (number): the ID of the app
  • admin_id (number): the admin_id of the administration
  • data (object): the data sent with the webhook
    • license_plate (string)
    • reservation_id (number): the unique ID of the reservation
    • start_date (string)
    • end_date (string)
    • reservation (object): the complete reservation object

You now have all the data Camping.care provides, and you can send it on to your barrier’s API.