Finding your API key
Your API key is available in the GetRequest dashboard under Settings → API Key. It is separate from your project URI (more on that distinction below). You’ll need it any time you send traffic through a GetRequest endpoint.Including the key in requests
Pass your API key as thex-api-key header on every request. The header name is lowercase and must match exactly.
API key vs. project URI
These two identifiers are easy to confuse, but they serve entirely different purposes:
Your API key is a credential — it proves you own the account. Your project URI is just a routing token embedded in the endpoint URL. You include the project URI in the URL path, and the API key in the request header. The two are not interchangeable.
What happens with a missing or invalid key
If you omit thex-api-key header or supply an incorrect value, the API Gateway returns an authentication error and the request is rejected immediately. It does not reach your endpoint, is not logged, and is not counted against your monthly quota. Double-check that you’re copying the key from Settings → API Key and that no extra whitespace was included.
Rotating your API key
If your key is compromised, shared accidentally, or you simply want to cycle it as a routine security practice, you can regenerate it at any time:- Open the GetRequest dashboard and navigate to Settings → API Key.
- Click Regenerate.
- Copy the new key and update all clients, services, and environment variables that use it.
Your old API key is invalidated the moment you click Regenerate. Any requests still using the old key will immediately start receiving authentication errors. Make sure you update all integrations before regenerating.