Appearance
Rate Limits
WedoCOD applies rate limiting to protect platform stability.
Default Limits
The API uses Laravel's built-in rate limiting via the api middleware group.
| Surface | Default Limit | Window |
|---|---|---|
REST API (api/web/1.0/) | 60 requests | Per minute |
| Dashboard | Standard web throttling | Per session |
INFO
All subscription plans have unlimited API actions. Rate limits apply to request frequency, not to the total number of operations.
Bulk Operations
Bulk endpoints allow processing multiple items per request, reducing the number of API calls needed:
| Endpoint | Max Items Per Request |
|---|---|
POST /api/web/1.0/leads | 1,000 leads |
POST /api/web/1.0/orders | 1,000 orders |
TIP
Use bulk endpoints instead of sending individual requests to stay well within rate limits.
Rate Limit Headers
When rate limiting is applied, the response includes standard headers:
http
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 42
Retry-After: 30429 Response
When the rate limit is exceeded:
json
{
"message": "Too Many Attempts."
}Wait for the Retry-After period (in seconds) before retrying.
Queued Operations
Heavy operations are processed asynchronously via background queues:
| Operation | Queue Priority |
|---|---|
| Lead/Order Import (Excel) | IMPORTANT |
| Lead/Order Export (Excel) | IMPORTANT |
| Push to Shipping Company | URGENT |
These endpoints return immediately with a success response. The actual processing happens in the background.
