We use the HubSpot API but suddenly it stopped working yesterday. It happens to be that it has just blocked a certain IP address, we are able to access the API from localhost or another IP address. We conclude that HubSpot might have blocked our IP address. Is there any way that we can whitelist the server IP or anything else we might need to do so that we resume the access to the API?
I'm sorry to hear that you're encountering IP blocks. Do you happen to be using a shared hosting plan? It's possible that the IP(s) in question were blocked as a result of a bad actor with which you share an IP. Unfortunately, we can't manually unblock shared hosting IPs, since our IP blocking is part of an automated security measure provided by our CDN, and unblocking a shared IP could leave us open to bad actors.
In the majority of cases, the blocks are temporary and resolve on their own after a period without abuse. If you want to check the reputation of the IPs in questions, our CDN recommends the following tool: https://www.projecthoneypot.org/search_ip.php