API Authentication
Every API request requires authentication using an API key in the HTTP headers.Getting Your API Key
- Log in to your TwitterApiIO Dashboard
- Find your API key displayed on the dashboard homepage
Using Your API Key
All API requests must include thex-api-key header for authentication.
Header format:
cURL
Python
Java
Keep your key safe
- Call the API from your server, not from browser or mobile code where anyone can read the key.
- Don’t commit the key to git. Load it from an environment variable or a secrets file.
- If a key leaks, email [email protected] and we’ll rotate it.
Authentication errors
See Errors for every status code.