rack_attack gem.
You could customize the configuration to suit your needs by updating, config/initializers/rack_attack.rb
Default Rate Limits
- Chatwoot throttles requests by IP at
3000 requestsper1 minute, unless the request is from an allowed IP such as127.0.0.1or::1. - Signup Requests are limited by IP at
5 requestsper5 minutes. - SignIn Requests are limited by IP at
5 requestsper20 seconds. - SignIn Requests are limited by email address at
20 requestsper5 minutesfor a specific email. - Reset Password Requests are limited at
5 requestsper1 hourfor a specific email.
Widget API Rate Limits
WhenENABLE_RACK_ATTACK_WIDGET_API is enabled, Chatwoot also applies the following widget API limits by IP:
- Widget conversation creation is limited to
6 requestsper12 hours. - Widget contact updates are limited to
60 requestsper1 hour. - New widget sessions without an existing conversation token are limited to
5 requestsper1 hour.
Attachment Restrictions
Contact/Inbox Avatarattachment file types are limited to jpeg, gif and png.Contact/Inbox Avatarattachment file size is limited to 15MB.Website Channelmessage attachments are limited to types [‘image/png’, ‘image/jpeg’, ‘image/gif’, ‘image/bmp’, ‘image/tiff’, ‘application/pdf’, ‘audio/mpeg’, ‘video/mp4’, ‘audio/ogg’, ‘text/csv’]Website Channelmessage attachments are limited to 40MB size limit.

