The SmarterPix Client API provides programmatic access to SmarterPix services. API keys can be issued on request by contacting smarterpix.com.
All API requests are made to the following base URL:https://client-api.smarterpix.com/api/
All API endpoints require authentication using an API key. You can pass the API key in one of three ways:
Authorization Header (Recommended):
Authorization: Bearer YOUR_API_KEY
Custom Header:
X-API-Key: YOUR_API_KEY
Query Parameter:
?api_key=YOUR_API_KEY
Returned when authentication fails or API key is missing/invalid.
{
"message": "Unauthenticated."
}
Returned when request parameters are invalid.
{
"message": "The given data was invalid.",
"errors": {
"id": ["The id field is required."],
"limit": ["The limit must not be greater than 100."]
}
}
Returned when an unexpected error occurs.
{
"message": "Server Error",
"error": "Error details"
}