You can pass in the API Key to our APIs either by using the HTTP Basic authentication header or by sending an api_key parameter via the query string or request body . If you use our client library CARTO. js, you only need to follow the authorization section and we will handle API Keys automatically for you.