Dokumentacja API

To jest dokumentacja dla dostępnych punktów końcowych API, które są oparte na architekturze REST. Wszystkie punkty końcowe API będą zwracać odpowiedź JSON z standardowymi kodami odpowiedzi HTTP i wymagają uwierzytelnienia Bearer za pomocą klucza API.

 

Uwierzytelnianie

Wszystkie punkty końcowe API wymagają klucza API wysłanego za pomocą metody uwierzytelniania Bearer Authentication.

Authorization: Bearer {api_key}
curl --request GET \
--url 'https://webtools.com.pl/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": "Nie masz dost\u0119pu do 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.
User
Dzienniki konta