Complete API documentation for the Content Platform. Access powerful analytics, content management, and campaign data.
https://cms.clicktrackerx.com/api/
fetch('https://cms.clicktrackerx.com/api/test')
.then(response => response.json())
.then(data => console.log(data));
fetch('https://cms.clicktrackerx.com/api/health/overall')
.then(response => response.json())
.then(data => console.log(data));
/api/test
Basic API test endpoint
/api/health/system
System health check
/api/health/database
Database health check
/api/system/info
System information
/api/analytics/summary
Analytics summary
/api/analytics/dashboard
Dashboard analytics data
/api/analytics/performance
Performance metrics
/api/campaigns-simple/dashboard
Campaign dashboard data
/api/campaigns-simple/all
All campaigns data
/api/campaigns-simple/performance
Campaign performance data
/api/content-simple
Simple content data
For protected endpoints, you need to authenticate using Laravel Sanctum tokens:
fetch('https://cms.clicktrackerx.com/api/login', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Accept': 'application/json'
},
body: JSON.stringify({
email: 'your-email@example.com',
password: 'your-password'
})
})
.then(response => response.json())
.then(data => {
localStorage.setItem('api_token', data.token);
});
fetch('https://cms.clicktrackerx.com/api/user', {
headers: {
'Authorization': `Bearer ${localStorage.getItem('api_token')}`,
'Accept': 'application/json'
}
})
.then(response => response.json())
.then(data => console.log(data));
Click a button above to test the API endpoints
All API responses follow this standard format:
{
"status": "success|error",
"data": {},
"message": "Description",
"timestamp": "2024-01-01T00:00:00Z"
}
© 2024 Content Platform. All rights reserved.