Contact your administrator to obtain an API key. Store it securely - you'll need it for all authenticated requests.
Test the connection with a simple health check. Add your API key to the X-API-Key header.
Start training a digital twin model by creating a user and submitting training data.
All API requests require authentication via an API key passed in the X-API-Key header.
curl -X GET "https://oneplus1api.com/health" \
-H "X-API-Key: your_api_key_here"
import requests
headers = {
"X-API-Key": "your_api_key_here"
}
response = requests.get(
"https://oneplus1api.com/health",
headers=headers
)
print(response.json())
const response = await fetch('https://oneplus1api.com/health', {
method: 'GET',
headers: {
'X-API-Key': 'your_api_key_here'
}
});
const data = await response.json();
console.log(data);
Explore all available endpoints, request parameters, and response formats.