Rate Limiting Update


#1

Hi All,

As per the previous discussion (Important Announcement: Rate Limits) we are still on track to implement rate limiting on the FreeAgent API on July 1st 2017.

In order for our users to test their rate limit handling/backoff code, we have added a mechanism for you to artificially lower the rate limit on the API sandbox to 5 req/minute. To enable this lowered rate limit, you need to send an additional header: X-RateLimit-Test: true

e.g.

curl -H "X-RateLimit-Test: true" -H "Authorization: Bearer {token}" https://api.sandbox.freeagent.com/v2/company

This will make it easy to hit the rate limit and confirm that your code correctly handles the 429 response.

Hopefully that will be useful, but if you have any comments or questions please reply below and we’ll do what we can to help.

Paul.


Reminder: Rate Limiting Coming July 1st
How to test Rate Limit functions before live
Cannot trigger 429 when testing rate limits