How to handle Autotask quota exceeded errors

Hey there. I'm wondering what's the best way to handle a potential error from the autotask webhook endpoint should it be executed after the autotask quota of 120 runs / hour is reached.

Would it be a 200 with a specific error code in the response's body ?
Or a 4xx ?

I couldn't find it specified in the available docs.

Thanks!

We return an HTTP 402 if quota is exceeded (though we may also return a 429 in the future). Hope this helps!

1 Like

Understood, thanks @spalladino