Skip to main content

Frequency Caps API

Define rolling-window limits on how often a single contact can be messaged. Enforcement happens inside messages.service.sendMessage against Redis sorted sets — sends that would exceed the cap return a FREQUENCY_CAP_EXCEEDED error and don’t dispatch. Base path: /api/v1/frequency-caps Authentication: API key (X-API-Key) or session JWT.

Example — cap marketing SMS at 3 per day per contact

Transactional messages (OTPs, receipts) typically bypass caps via the category: "transactional" tag on the send request.

See also