API Reference
Complete REST API documentation for ICTCom services
v1.0
Current Version
REST
API Type
JSON
Response Format
Base URL
https://api.ictcom.comAuthentication
Secure authentication and authorization endpoints
POST
/api/v1/auth/loginAuthenticate user and receive access token
Parameters
emailstringrequiredUser email addresspasswordstringrequiredUser passwordExample Request
curl -X POST https://api.ictcom.com/api/v1/auth/login \ -H "Content-Type: application/json"
Example Response
{ "token": "jwt_token", "user": {...} }POST
/api/v1/auth/registerRegister a new user account
Parameters
emailstringrequiredUser emailpasswordstringrequiredUser passwordnamestringrequiredFull nameExample Request
curl -X POST https://api.ictcom.com/api/v1/auth/register \ -H "Content-Type: application/json"
Example Response
{ "user": {...}, "token": "jwt_token" }POST
/api/v1/auth/refreshAuth RequiredRefresh access token
Example Request
curl -X POST https://api.ictcom.com/api/v1/auth/refresh \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "token": "new_jwt_token" }Cloud Services
Manage cloud infrastructure and resources
GET
/api/v1/cloud/instancesAuth RequiredList all cloud instances
Parameters
pagenumberPage numberlimitnumberItems per pageExample Request
curl -X GET https://api.ictcom.com/api/v1/cloud/instances \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "instances": [...], "total": 100 }POST
/api/v1/cloud/instancesAuth RequiredCreate a new cloud instance
Parameters
namestringrequiredInstance nametypestringrequiredInstance typeregionstringrequiredDeployment regionExample Request
curl -X POST https://api.ictcom.com/api/v1/cloud/instances \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "instance": {...}, "status": "creating" }DELETE
/api/v1/cloud/instances/:idAuth RequiredDelete a cloud instance
Example Request
curl -X DELETE https://api.ictcom.com/api/v1/cloud/instances/:id \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "message": "Instance deleted successfully" }Data Services
Database and data management APIs
GET
/api/v1/data/databasesAuth RequiredList all databases
Example Request
curl -X GET https://api.ictcom.com/api/v1/data/databases \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "databases": [...] }POST
/api/v1/data/queryAuth RequiredExecute a database query
Parameters
databasestringrequiredDatabase namequerystringrequiredSQL queryExample Request
curl -X POST https://api.ictcom.com/api/v1/data/query \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "results": [...], "rowCount": 10 }POST
/api/v1/data/backupAuth RequiredCreate database backup
Parameters
databasestringrequiredDatabase to backupExample Request
curl -X POST https://api.ictcom.com/api/v1/data/backup \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "backupId": "...", "status": "in_progress" }Automation & AI
AI and automation service endpoints
POST
/api/v1/ai/analyzeAuth RequiredAnalyze data using AI models
Parameters
dataobjectrequiredData to analyzemodelstringrequiredAI model to useExample Request
curl -X POST https://api.ictcom.com/api/v1/ai/analyze \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "analysis": {...}, "confidence": 0.95 }POST
/api/v1/automation/workflowAuth RequiredCreate automation workflow
Parameters
namestringrequiredWorkflow namestepsarrayrequiredWorkflow stepsExample Request
curl -X POST https://api.ictcom.com/api/v1/automation/workflow \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "workflowId": "...", "status": "active" }GET
/api/v1/automation/workflowsAuth RequiredList all automation workflows
Example Request
curl -X GET https://api.ictcom.com/api/v1/automation/workflows \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_TOKEN"
Example Response
{ "workflows": [...] }