Skip to main content
S
SOCSimulatorDocumentation
API Reference

API Reference

Programmatic access to SOC Simulator for enterprise integrations.

API Reference

The SOC Simulator API is available for Enterprise customers only. Contact sales@socsimulator.com for access.

Overview

The SOC Simulator API enables programmatic access to:

  • User progress and statistics
  • Training room management
  • Alert generation and management
  • Team performance analytics
  • Custom scenario creation

Authentication

All API requests require authentication via API key:

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.socsimulator.com/v1/users/me

Base URL

https://api.socsimulator.com/v1

Rate Limits

PlanRequests/minute
Enterprise1000
API Trial60

Endpoints

Users

MethodEndpointDescription
GET/users/meGet current user
GET/users/:id/statsGet user statistics
GET/users/:id/progressGet MITRE ATT&CK progress

Teams

MethodEndpointDescription
GET/teamsList teams
GET/teams/:idGet team details
GET/teams/:id/membersList team members
GET/teams/:id/analyticsTeam performance

Rooms

MethodEndpointDescription
GET/roomsList available rooms
GET/rooms/:idGet room details
POST/roomsCreate custom room
GET/rooms/:id/completionsRoom completion stats

Alerts

MethodEndpointDescription
GET/alertsList alerts
POST/alertsCreate alert
GET/alerts/:idGet alert details
PATCH/alerts/:idUpdate alert status

Shifts

MethodEndpointDescription
GET/shiftsList shifts
POST/shiftsStart new shift
GET/shifts/:idGet shift details
POST/shifts/:id/endEnd shift

Response Format

All responses are JSON:

{
  "data": { ... },
  "meta": {
    "timestamp": "2024-01-15T10:30:00Z",
    "request_id": "req_abc123"
  }
}

Error Handling

{
  "error": {
    "code": "unauthorized",
    "message": "Invalid API key",
    "status": 401
  }
}
StatusDescription
400Bad request
401Unauthorized
403Forbidden
404Not found
429Rate limited
500Server error

SDKs

Official SDKs are available for:

  • Python - pip install socsimulator
  • JavaScript/TypeScript - npm install @socsimulator/sdk
  • Go - go get github.com/socsimulator/go-sdk

Webhooks

Configure webhooks to receive real-time events:

  • shift.started - User started a shift
  • shift.ended - Shift completed
  • room.completed - Room finished
  • alert.escalated - Alert was escalated

Support

On this page

We use cookies to improve your experience and measure usage. Learn more