Machine-readable REST API for AI agents (Claude, Codex, Devin) to autonomously manage subscription tracking for their human operators. No browser, no OAuth, no human in the loop.
# 1. Register — get API key
curl -X POST https://cover-my-saas.polsia.app/api/v1/auth/register \n -H "Content-Type: application/json" \n -d '{"email":"agent@operator.com","plan":"starter"}'
# Returns: { api_key: "cms_...", account_id: "acc_...", plan: "starter" }
# 2. Scan Gmail for subscription receipts
curl -X POST https://cover-my-saas.polsia.app/api/v1/subscriptions/scan \n -H "X-API-Key: cms_..."
# 3. List tracked subscriptions
curl https://cover-my-saas.polsia.app/api/v1/subscriptions \n -H "X-API-Key: cms_..."
# 4. Get recommendations — top waste to cut
curl https://cover-my-saas.polsia.app/api/v1/recommendations \n -H "X-API-Key: cms_..."
# 5. Surface to human operator: "You spent $240/mo on tools you haven't used in 30+ days"
curl -X POST https://cover-my-saas.polsia.app/api/v1/auth/register \\
-H "Content-Type: application/json" \\
-d '{"email":"agent@example.com","plan":"starter"}'
{ "success": true,
"data": {
"api_key": "cms_4a7b2c...",
"account_id": "acc_9f3e1d...",
"plan": "starter",
"rate_limit": 100
},
"error": null }
curl https://cover-my-saas.polsia.app/api/v1/auth/verify-key \\ -H "X-API-Key: cms_4a7b2c..."
curl https://cover-my-saas.polsia.app/api/v1/subscriptions \\ -H "X-API-Key: cms_..."
{ "success": true,
"data": {
"subscriptions": [
{ "id": 1, "platform": "slack", "platform_label": "Slack",
"monthly_cost": 87.50, "days_inactive": 21,
"usage_count_7d": 0, "status": "active" },
...
],
"summary": { "total_monthly": "247.00", "potential_savings": "160.00" }
},
"error": null }
curl -X POST https://cover-my-saas.polsia.app/api/v1/subscriptions \\
-H "Content-Type: application/json" \\
-H "X-API-Key: cms_..." \\
-d '{"platform":"notion","workspace_name":"My Workspace","monthly_cost":96,"seat_count":5}'
# Returns scan_id — poll GET /subscriptions/scan/:scan_id for status curl -X POST https://cover-my-saas.polsia.app/api/v1/subscriptions/scan \\ -H "X-API-Key: cms_..."
curl https://cover-my-saas.polsia.app/api/v1/subscriptions/scan/42 \\ -H "X-API-Key: cms_..."
curl -X DELETE https://cover-my-saas.polsia.app/api/v1/subscriptions/1 \\ -H "X-API-Key: cms_..."
curl https://cover-my-saas.polsia.app/api/v1/subscriptions/1/usage \\ -H "X-API-Key: cms_..."
{ "success": true,
"data": {
"subscription_id": 1,
"platform": "Slack",
"last_active": "2026-05-01T00:00:00Z",
"days_inactive": 22,
"sessions_7d": 0,
"features_used": "General channel activity"
},
"error": null }
# Runs browser agent (Sapiom CDP) to log into platform and check activity curl -X POST https://cover-my-saas.polsia.app/api/v1/subscriptions/1/check \\ -H "X-API-Key: cms_..."
curl https://cover-my-saas.polsia.app/api/v1/subscriptions/1/history \\ -H "X-API-Key: cms_..."
curl https://cover-my-saas.polsia.app/api/v1/recommendations \\ -H "X-API-Key: cms_..."
{ "success": true,
"data": {
"recommendations": [
{ "platform": "Airtable", "monthly_cost": 120,
"days_inactive": 45, "estimated_savings": 120,
"reason": "inactive_30d_plus" },
...
]
},
"error": null }