Frequency Caps API
Define rolling-window limits on how often a single contact can be messaged. Enforcement happens insidemessages.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
category: "transactional" tag on the send request.
See also
- Messaging API → categories
- Compliance → opt-out — opt-out is enforced regardless of caps