method not allowed

The endpoint exists but not for this HTTP method, for example you DELETE /webhooks instead of GET.

Solution

This could be many different problems, your best bet is to check the documentation for the endpoint you're using to see what methods are allowed, and make sure you've implemented them correctly. You can cut down on mistakes by using one of our clients. We offer clients for our API in these languages: