empowsec API and Webhooks: Integrate Your Security Stack

David Kowalski··8 min read
Integrating with the empowsec API

Security awareness training generates useful data - completion rates, phishing click rates, risk scores, remediation trends - but only if that data can reach the systems where decisions are made. When training results sit in an isolated portal, they rarely influence the broader security posture. They do not appear in the SIEM alongside other threat signals. They do not flow into the HRIS so HR and line managers can see progress alongside other employee records. They do not update a BI dashboard that the CISO reviews each week. empowsec is designed to avoid this silo problem through a fully documented, versioned REST API and a webhook system that pushes events to wherever your stack is listening.

This article explains what the empowsec API covers for both companies and resellers, how authentication works, what webhooks deliver, and how the interactive documentation helps developers get started quickly.

A Versioned REST API for Companies and Resellers

The empowsec API is versioned at v1, which means you can build integrations with confidence that the endpoint contracts will not change without notice. Versioning is a basic expectation for any production API, and it matters especially for integrations that run on a schedule or are embedded in critical workflows. If empowsec adds a new capability or changes a response shape, you get advance warning and a migration path rather than a silent breaking change.

The API serves two distinct audiences. Company-level API access gives IT teams and developers the ability to manage users programmatically - including bulk import for large organizations - and to pull reports covering training completion, phishing simulation results, and employee risk scores. This means you can automate the entire lifecycle: provision users when they join, pull their training status weekly, and feed their risk scores into a dashboard or alert pipeline.

Reseller-level API access goes further. MSPs and resellers can manage the companies they serve, control seat allocations from their shared pool, manage users across all their clients, and retrieve usage reports that aggregate across the full client base. This is what makes empowsec genuinely scalable for a managed security service: the operations that would otherwise require clicking through each client's portal can instead be automated and handled in bulk from a single integration.

docs.empowsec.com / api / v1 / reference
API Reference - Users
G
GET /api/v1/company/users
List all users with training and risk data
200 OK
P
POST /api/v1/company/users/import
Bulk-import users from HRIS or CSV payload
201 Created
G
GET /api/v1/company/reports/phishing
Pull phishing results filtered by campaign or date
200 OK
G
GET /api/v1/reseller/companies
List managed companies with seat usage
Reseller
The empowsec API reference lists endpoint paths, HTTP methods, and expected responses - covering users, reports, and reseller operations.

Authentication: OAuth2 and API Keys

The API supports two authentication methods to fit different integration patterns. OAuth2 client credentials is the right choice for server-to-server integrations where a service or script authenticates independently, without a user being present. You register a client, obtain a client secret, and exchange them for an access token using the standard OAuth2 client credentials grant. Tokens are short-lived, which limits exposure if credentials are ever compromised.

API keys offer a simpler option for scripting, testing, or integrations where the OAuth2 flow adds unnecessary complexity. Keys are scoped to the authenticating company or reseller and can be rotated when needed. Both methods are covered in the interactive documentation under the authentication section, with working code examples showing how to obtain a token and attach it to subsequent requests.

Choosing the right method depends on your integration context. Long-running scheduled jobs or microservices benefit from OAuth2 because token rotation is automatic. Quick operational scripts or webhook consumers that just need to call a single endpoint often find API keys simpler to set up. empowsec supports both so teams are not forced into an authentication pattern that does not fit their tooling.

Webhooks: Push Events to Your Stack

Polling an API for changes is workable but inefficient. Webhooks invert the relationship: empowsec pushes an event payload to your specified endpoint the moment something significant happens, so your integration reacts immediately rather than on a polling cycle. This matters for workflows where timeliness is important - for example, triggering a ticket when a high-risk event occurs, updating an employee record in an HRIS when training is completed, or alerting a manager when an escalation fires.

The webhook system delivers events for the range of activities that empowsec tracks. When a user completes a course, when a phishing simulation detects a click, when a risk score crosses a threshold, when a reseller's seats near their limit - these events can all be delivered as webhook payloads to a URL you control. Your integration then decides what to do: log it, trigger a workflow, update a record, send a notification through a different channel. The empowsec webhook documentation covers the event payload format, delivery guarantees, and how to verify the signature on incoming webhook requests to confirm they came from empowsec.

Webhook event - training.completed
Delivered to your endpoint when a user finishes an assigned course.
eventtraining.completed
user_idusr_4f2a9b
coursePhishing Awareness Basics
score88
completed_at2026-07-27T10:14:32Z
A webhook payload from empowsec carries the event type and structured data your integration needs to act immediately - no polling required.

Interactive API Documentation

A powerful API is only as useful as its documentation. empowsec provides interactive API documentation that developers can read and try without leaving the browser. The documentation is organized into sections that mirror the development journey: getting started introduces the base URL, versioning, and rate limits; authentication explains OAuth2 and API keys with code samples; the API reference covers every endpoint with request parameters, response shapes, and example responses; webhooks documents event types, payload formats, and signature verification; errors lists status codes and their meanings so integrations can handle failures gracefully; and the changelog records every API change so teams can assess impact when a new version releases.

Interactive documentation reduces the time from 'we want to integrate empowsec' to 'the integration is in production'. A developer who can test an endpoint directly in the docs - fill in parameters, see the real response shape, copy an example - can write the integration code much faster than one working from a static PDF reference. For MSPs building empowsec into a service delivery workflow, this speed matters.

The documentation also serves an ongoing role: when a new API feature ships, the changelog entry points developers to the updated reference section. When an error occurs in a production integration, the errors section gives the developer the context to diagnose whether the issue is an authentication problem, a rate limit, a malformed request, or a server-side error. Good documentation is maintenance infrastructure, not just an onboarding tool.

Connecting empowsec to HRIS, SIEM, and BI

The practical value of the API is the integrations it enables. A human resources information system (HRIS) is the system of record for employees at most organizations. Syncing empowsec with the HRIS means user provisioning and deprovisioning can happen automatically: when an employee joins, they appear in empowsec without a manual import; when they leave, access is revoked promptly. This is an important security hygiene benefit in its own right, separate from the training program.

A security information and event management (SIEM) system aggregates signals from across the security environment. Feeding empowsec risk scores and phishing simulation events into the SIEM adds a human risk dimension to that picture. An employee who has clicked multiple simulated phishing links in the past month is a different kind of signal than one who consistently reports simulations. When that context appears alongside authentication logs and endpoint alerts, the security team gets a richer picture of where human risk is elevated.

Business intelligence tools let teams build custom dashboards and reports beyond what any single platform provides. Pulling empowsec data through the API into a BI tool means you can combine it with other organizational data - headcount, department budgets, incident history - and produce reports tailored to the exact questions your leadership is asking. Which departments are improving? Where does training completion lag behind simulation performance? The API makes these questions answerable without waiting for a vendor-supplied report format.

Tip
Start with the bulk user import endpoint to sync your HRIS on day one - it handles large batches and saves the manual work of setting up each employee individually.

What This Means for Your Team

  • Versioned REST API (v1) gives companies and resellers stable endpoint contracts for production integrations that will not break without warning.
  • Company API access covers user management (including bulk import) and reporting across training, phishing, and risk scores.
  • Reseller API access extends to managing client companies, allocating seats, and pulling cross-company usage reports - ideal for MSPs running at scale.
  • OAuth2 and API key authentication support both server-to-server and script-based integration patterns.
  • Webhooks push events in real time so your workflows react immediately rather than polling on a schedule.
  • Interactive documentation with getting-started guides, a full reference, webhook docs, error codes, and a changelog accelerates integration development and ongoing maintenance.
Share: