API-dokumentaatio

This is the documentation for the available API endpoints, which are built around the REST architecture. All the API endpoints will return a JSON response with the standard HTTP response codes and need a Bearer Authentication via an API Key.

Todennus

All the API endpoints require an API key sent by the Bearer Authentication method.

curl --request GET \
--url 'https://popupke.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Käyttäjä
Kampanjat
Ilmoitukset
Notification handlers
Joukkueet
Ryhmän jäsenet
Joukkueen jäsen
Maksut
Lokit