API and MCP — Hit Status docs
In My profile → API keys generate a hsk… key. It inherits your role (operator/admin) and your organization. Use it as Authorization: Bearer hsk….
API and MCP
Personal API key
In My profile → API keys generate a hsk_… key. It inherits your role (operator/admin) and your organization. Use it as Authorization: Bearer hsk_….
REST (v1)
Interactive documentation (Swagger): /api/docs · specification: /api/openapi.json.
curl -H "Authorization: Bearer hsk_…" https://hitstatus.pro/api/v1/overview
curl -H "Authorization: Bearer hsk_…" "https://hitstatus.pro/api/v1/monitors?status=down"
curl -H "Authorization: Bearer hsk_…" -H "content-type: application/json" \
-d '{"asset_id":12,"kind":"down","priority":"P1","title":"ERP indisponível","message":"Investigando"}' \
https://hitstatus.pro/api/v1/incidents
MCP — operate with your own AI agent
Hit Status exposes an MCP server (Streamable HTTP). Any MCP client — Claude Desktop, Cursor, your own agents — gets the same tools as the Assistant: view the overview, monitors and incidents, generate reports, test targets, create sites/assets/monitors, declare incidents and publish updates.
URL: https://hitstatus.pro/api/mcp · Header: Authorization: Bearer hsk_…
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"hit-status": {
"type": "streamable-http",
"url": "https://hitstatus.pro/api/mcp",
"headers": { "Authorization": "Bearer hsk_SUA_CHAVE" }
}
}
}
Cursor / others
Configure an MCP server of type *HTTP* with the same URL and header. Then just ask: *"list the open incidents in Hit Status and declare a P2 on the ERP"*.
Heartbeat / status push (no key)
GET|POST /api/heartbeat/{token} — see [Applications](applications).
Limits
- Available from the Pro plan. The Assistant's same daily AI quotas apply when the tool is called by an agent.
- Up to 5 active keys per user; revoke them in My profile.