Skip to content

Change Auth rate limits

Change the Supabase Auth rate limits that are customizable, so your project allows the request rates your app needs.

Prerequisites

To use the Management API, you need a personal access token.

Change a limit

Change limits in the Dashboard or with the Management API. Both change the same settings.

In the Dashboard

In your project, open Authentication > Rate Limits and change the limits you need.

With the Management API

To read and update rate limits from your terminal, run the following commands:

# Get your access token from https://supabase.com/dashboard/account/tokens
export SUPABASE_ACCESS_TOKEN="your-access-token"
export PROJECT_REF="your-project-ref"
# Get current rate limits
curl -X GET "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \
-H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" \
| jq 'to_entries | map(select(.key | startswith("rate_limit_"))) | from_entries'
# Update rate limits
curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \
-H "Authorization: Bearer $SUPABASE_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"rate_limit_anonymous_users": 10,
"rate_limit_email_sent": 10,
"rate_limit_sms_sent": 10,
"rate_limit_verify": 10,
"rate_limit_token_refresh": 10,
"rate_limit_otp": 10,
"rate_limit_web3": 10
}'

Next steps

To keep going, use these pages:

To look up each limit, see this page:

  • Auth rate limits: each limit, what it's counted by, and whether you can change it.