APIs & Integrations

zwolfson
HubSpot Employee
HubSpot Employee

API call logs available for API key users

A complete log of API calls made by an account can be a vital resource for developers. This is especially true when just getting started or trying to troubleshoot an issue.  However, until now, HubSpot has only been providing logs of API calls to developers who used OAuth. Now, regardless of which authentication method you choose, you can see what calls have been made, and HubSpot’s responses to those calls. 

 

What’s happening

In any account that has made API calls, Super Admins can now see the last 7 days of API calls made by accessing their API key.  To make finding the relevant API calls easier, you can filter by:

  • Date the API call was made
  • Response code type
  • Request method
  • Endpoint called



When is this happening

This change is now live

 

If you have any questions please join the discussion here.

5 Replies 5
aminzd
Participant

API call logs available for API key users

It seems like some of the endpoints are not logged. E.g. we don't see calls to the single-send API endpoint (https://api.hubapi.com/marketing/v3/transactional/single-email/send) in the logs.

0 Upvotes
TStille
Member

API call logs available for API key users

How do you turn on the  request/response recording for the call details?  I am getting "No headers were recorded for this request"/ No body was recorded for this request." /  "No headers were recorded for this response." / "No body was recorded for this response." 

JSoong
Member

API call logs available for API key users

I second the export function, ideally im keen for IP address, user-agent etc included

0 Upvotes
sambitc
Participant

API call logs available for API key users

Please add an export button to export the api logs. its not really helpfull when there are thousands of calls.

yatishm
Top Contributor

API call logs available for API key users

Hi there,

This is a great update. It was one of the first few items to I looked for when we were doing a proof of concept on Hubspot from the old CRM. Thank you for implementing - it has great indepth insight.

Yatish