Rate Limit

Rate Limit for SMS and WhatsApp messages

We set a default rate limit for requests that requires a message to be sent via SMS or WhatsApp. The default limitation can be seen in the image below, and can be updated in the Dashboard under Rulesarrow-up-right.

Default Rate Limit Values in the Dashboard

Understanding the Rate Limit rules

The above rate limit rule means that within the last 5 minutes:

  • there can be at most 10 requests with the same IP address as the current request

  • there can be at most 5 requests with the same phone number as the current request

  • there can be at most 5 requests with the same Session ID as the current request

circle-info

The Session ID is set in the user's localStorage in their browser. If the user clears their localStorage or go to a different browser, the Session ID will be different.

Example

Identifier Max: 5 requests - Let's say you have made a request with phone number +12345678910 5 times within the last 5 minutes. The sixth time you make a request with phone number +12345678910 within that 5 minutes, it will be blocked. However, once 5 minutes has passed since your first request, you can make a request with phone number +12345678910again.

Session ID Max: 5 requests - If you make 3 requests with phone number +11111111111 and 2 requests with phone number +3333333333, and then make a request with phone number +55555555555within 5 minutes, all in the same browser, then the last request will be blocked. This is because your Session ID is the same for all 6 requests.

Last updated