{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-rest-api/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Rate Limits","description":"Developer documentation for the WHMCS API — the","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"rate-limits","__idx":0},"children":["Rate Limits"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["WHMCS rate limits the following endpoints and returns HTTP status code ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["429"]}," if you exceed 30 requests to that endpoint in five minutes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rest-api/reference/whmcs-rest-api/paths/~1user~1invoices~1%7Binvoice_id%7D~1payment-link/post"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user/invoices/{invoice_id}/payment-link"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rest-api/reference/whmcs-rest-api/paths/~1user~1invoices~1%7Binvoice_id%7D~1payment-session/post"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user/invoices/{invoice_id}/payment-session"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rest-api/reference/whmcs-rest-api/paths/~1user~1invoices~1%7Binvoice_id%7D~1payment-session~1confirm/post"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /user/invoices/{invoice_id}/payment-session/confirm"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rest-api/reference/whmcs-rest-api/paths/~1user~1paymethods~1%7Bpaymethod_id%7D/delete"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DELETE /user/paymethods/{paymethod_id}"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["WHMCS does ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["not"]}," rate limit other API endpoints."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API limits endpoints using the client IP address and route, not the client or user ID. A server-side integration that acts for many clients shares a single allowance per route."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["These limits apply to every integration that calls these endpoints. For more information, see the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/rest-api/reference/whmcs-rest-api"},"children":["API Reference"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"reading-a-429","__idx":1},"children":["Reading a 429"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A request past the limit returns the following response:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"HTTP/1.1 429 Too Many Requests\n\n{\"message\":\"Rate Limit Exceeded\"}\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response includes no ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Retry-After"]}," header and no ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["X-RateLimit-*"]}," headers. Ensure that your application spaces requests appropriately."]}]},"headings":[{"value":"Rate Limits","id":"rate-limits","depth":2},{"value":"Reading a 429","id":"reading-a-429","depth":2}],"frontmatter":{"title":"Rate Limits","seo":{"title":"Rate Limits"}},"lastModified":"2026-10-19T18:21:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/rest-api/rate-limits","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}