DocSpring updates
DocSpring updates

API Request Logs





We've just added a new API Request Logs page, which should make it much easier to debug any problems with your API integration.

Screen Shot 2020-05-27 at 8.11.04 PM.png

If you ever run into any problems with API authentication, you can now check the API request logs to see what went wrong:

Screen Shot 2020-05-27 at 8.23.05 PM.png

We only record some general information about the API request by default. This includes the method (POST, GET), path, time, IP address, and response code.

If you want to log more information about your API requests, we have also added a new Log API requests and responses option to the Account Settings page. This option is unchecked by default.

You can enable this option to record the headers and request/response body in your API request logs:

Screen Shot 2020-05-27 at 8.17.36 PM.png

All API request logs are deleted after 7 days. You can also click the "Delete All Logs" button at any time to delete all your request logs.