WemX API
  • Overview
  • Authentication
  • Ratelimits
  • Errors
  • Parameters
  • API Reference
    • Users
    • Orders
    • Payments
    • Emails
    • Categories
    • Packages
    • Coupons
    • Gateways
    • OAuth Connections
Powered by GitBook
On this page

Was this helpful?

Ratelimits

Ratelimits for the application API

The Application API has a default rate limit of 60 requests per minute. You can track the maximum requests and requests left using the headers below

Header
Description

X-RateLimit-Limit

Maximum limit of requests per minute

X-RateLimit-Remaining

Maximum remaining requests per minute

If you wish to define custom rate limits, you may define them inside the ENV file on your application.

edit /var/www/wemx/.env and add

API_RATELIMIT=120

PreviousAuthenticationNextErrors

Last updated 1 year ago

Was this helpful?