We've just added a new API Request Logs page, which should make it much easier to debug any problems with your API integration.
If you ever run into any problems with API authentication, you can now check the API request logs to see what went wrong:
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:
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.