Skip to main content
The Upstash API requires API keys to authenticate requests. You can view and manage API keys at the Upstash Console. Upstash API uses HTTP Basic authentication. You should pass EMAIL and API_KEY as basic authentication username and password respectively. With a client such as curl, you can pass your credentials with the -u option, as the following example shows:
curl https://api.upstash.com/v2/redis/databases -u EMAIL:API_KEY
Replace EMAIL and API_KEY with your email and API key. EMAIL is always your own account email, even when you use a team API key. Any member of the team can authenticate with the team’s key by passing their own email.