Документация API

Это документация для доступных конечных точек API, которые построены вокруг архитектуры REST Все конечные точки API вернут ответ JSON со стандартными кодами ответа HTTP и требуют Bearer аутентификации через API ключ

 

Аутентификация

Все конечные точки API требуют отправки API-ключа методом Bearer Authentication.

Authorization: Bearer {api_key}
curl --request GET \
--url 'https://toolkitnow.info/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": "\u0423 \u0432\u0430\u0441 \u043d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a 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.
Пользователь
Оплата счетов
Referred signups
Журналы учетных записей