{% extends "pretixcontrol/event/settings_base.html" %} {% load i18n %}{% load bootstrap3 %} {% block inside %}
{% blocktrans %}A read-only JSON feed of live operational data for an external system (e.g. your accreditation platform) to poll: current occupancy, sell-out status and scan deltas. Authenticate every request with the header X-API-Key: <your key> — the key is never accepted in the URL. For attendee and order data, use pretix's own REST API.{% endblocktrans %}
{% trans "Keep this secret. Rotating it immediately invalidates the old key." %}
| {% trans "Feed" %} | {% trans "URL (GET, with X-API-Key header)" %} |
|---|---|
| {% trans "Capacity / occupancy" %} | {{ urls.capacity }} |
| {% trans "Availability / sell-out" %} | {{ urls.availability }} |
| {% trans "Scan deltas" %} {% trans "add ?since= | {{ urls.checkins }} |
curl -H "X-API-Key: {{ api_key|truncatechars:12 }}" "{{ urls.capacity }}"
{% endif %}
{% endblock %}