API Documentatie
Dit is de documentatie voor de beschikbare API-eindpunten, die zijn gebouwd rond de REST-architectuur. Alle API-eindpunten zullen een JSON-respons retourneren met de standaard HTTP-responscodes en vereisen een Bearer-authenticatie via een API-sleutel.
Verificatie
Alle API-eindpunten vereisen een API-sleutel die wordt verzonden via de Bearer Authenticatiemethode.
Authorization: Bearer {api_key}
curl --request GET \
--url 'https://qr.geselle.be/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qr.geselle.be/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
Errors
Our API uses conventional HTTP status codes to indicate the success or failure of a request.
{
"errors": [
{
"title": "Je hebt geen toegang tot de API.",
"status": 401
}
]
}
200 Request completed successfully
400 Bad request - Required parameters are missing or invalid
401 Unauthorized - API key is missing or invalid
404 The requested resource was not found
429 Too many requests - Rate limit exceeded
500 Internal server error - this means there is a problem on our end
All API endpoint results work with the UTC timezone unless specified otherwise.
Gebruiker
QR-codes
Barcodes
Koppelingen
Link statistieken
Account logs