Core Concepts
API Integration
const response = await fetch('/api/v1/resource', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
import requests
response = requests.get('/api/v1/resource', headers={'Authorization': 'Bearer YOUR_API_KEY'})
curl -X GET \
'https://api.roundpixel.com/v1/resource' \
-H 'Authorization: Bearer YOUR_API_KEY'
{
"error": "Bad Request"
}
{
"error": "Unauthorized"
}
{
"error": "Internal Server Error"
}
Integrating Our APIs
Our APIs provide a robust and flexible way to connect with Roundpixel Studio's services. This guide will walk you through the process of integrating our APIs into your applications.
Authentication
To authenticate, use the API key you received upon registration. This key should be included in the header of every request.
{
"Authorization": "Bearer YOUR_API_KEY"
}
Example Request
Error Handling
Always handle errors gracefully to ensure a smooth user experience.