Authentication
Welcome to the Authentication section of our documentation. This page provides comprehensive details on how to securely authenticate with our API using API keys. You’ll find step-by-step instructions
Overview
Obtaining an API Key
Using Your API Key
Example of Adding API Key to HTTP Header
bash
curl -X POST "http://api.teamgames.io/v3/example-endpoint" \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"param1":"value1", "param2":"value2"}'HttpsURLConnection conn = (HttpsURLConnection) url.openConnection();
String apiKey= "YOUR_API_KEY_HERE";
conn.setRequestMethod("POST");
conn.setRequestProperty("X-API-Key", apiKey);Last updated