v1.0Get API key
Quickstart
Make your first API call
From zero to a working API integration in 5 minutes.
Prerequisites: A FixMyCloud account. Sign up free
1
Get your workspace slug
Your workspace slug appears in the app URL after login: app.fixmycloud.ai/my-company/dashboard. You will need it for every API call.
2
Authenticate
Exchange your credentials for a bearer token:
bash
curl -X POST https://api.fixmycloud.ai/api/v1/auth/login -H "Content-Type: application/json" -d '{"email":"you@company.com","password":"your-password"}'Response:
json
{
"access_token": "eyJhbGci...",
"token_type": "bearer",
"expires_in": 3600
}3
List your connections
bash
curl https://api.fixmycloud.ai/api/v1/connections -H "Authorization: Bearer <your_token>" -H "X-Tenant-Slug: my-company"json
[
{
"id": "conn_abc123",
"alias": "Production AWS",
"provider": "aws",
"status": "active"
}
]4
Trigger a scan
bash
curl -X POST https://api.fixmycloud.ai/api/v1/scans -H "Authorization: Bearer <your_token>" -H "X-Tenant-Slug: my-company" -H "Content-Type: application/json" -d '{"connection_id":"conn_abc123"}'json
{
"id": "scan_xyz789",
"status": "running",
"provider": "aws"
}5
Fetch findings
bash
curl "https://api.fixmycloud.ai/api/v1/findings?severity=critical&limit=10" -H "Authorization: Bearer <your_token>" -H "X-Tenant-Slug: my-company"