activecampaign-v3-php icon indicating copy to clipboard operation
activecampaign-v3-php copied to clipboard

API request rate limit

Open billygrossman opened this issue 4 years ago • 0 comments

First, thanks for making this client library!

Currently, ActiveCampaign sets a rate limit of 5 requests per second. It seems that a 503 response code is returned once this limit is reached. It would be helpful if by default a rate limiter were attached to the Guzzle client instance.

As a suggestion, this is a middleware package that seems promising https://github.com/spatie/guzzle-rate-limiter-middleware.

Thanks!

billygrossman avatar Jul 12 '21 14:07 billygrossman