Overview
What the API does, what it does not, and where to begin.
NexGuard has two interfaces for your systems. Your backend sends events — sign-ins, registrations, verification attempts, API calls — and NexGuard looks for patterns in them. Your backend can also read what was found: incidents, the alerts they were assembled from, and your security score. Both use an API key created in the console, and both are bound to your organisation on the server.
- Getting startedCreate a key, check it, send a first event and read your data back.
- AuthenticationAPI keys, the X-API-Key header, optional request signing and key hygiene.
- Sending eventsThe event envelope, event types, batches, idempotency and fields that must never be sent.
- Reading dataIncidents, alerts and the security score: requests, paging and response shapes.
- Identity sourcesConnect Microsoft Entra ID or Google Workspace without code: setup steps, permissions, licences and what is read.
- WebhooksSigned calls from NexGuard to your systems: incident notifications and response instructions.
- Errors, limits and retriesStatus codes, the two rate limits, the retryable 503 and how to back off.
- Python SDKA standard-library client: send, send_quietly, batches and the doctor.
- JavaScript SDKnpm install nexguard: send events, verify webhooks, sign requests, read incidents.
- Single sign-onSign your people in with your own identity provider: Entra ID, Google Workspace, Okta, or any SAML or OIDC provider.
- KVKK compliance moduleData-subject applications, breach notification to the Board and the processing inventory, run by your organisation as data controller.
- Integration guidesPatterns for sending sign-in events from your stack, reading incidents into your tools and exporting security events to your SIEM.
- External attack-surface scannerWhat the NexGuard-AttackSurface scanner is, which requests it makes, what it never does and how to object.
- National threat intelligenceHow your events are checked against the USOM list of malicious addresses, domains and links, and what a match produces.
- Information and Communication Security GuideAssessing an organisation against the national guide (Circular 2019/12): levels, scope, evidence, automatic measurements and the report.
- API referenceEvery public operation and schema, generated from the OpenAPI contract.
- Changelog and versionsWhat changed and when, how versions work, and how to get help.
What the API is
- Two sending endpoints, for one event or a batch of up to 100. Sending is idempotent on your
event_id. - Five reading endpoints, all
GET, all read-only, under/api/v1/public. - One header authenticates every request:
X-API-Key. - Signed webhooks from NexGuard to you: incident notifications, and response actions your approvers accepted.
- Errors are always
application/problem+jsonwith arequest_idto quote.
What it is not
- There is no endpoint that changes anything: no write scopes, no approving a response, no closing an incident from your systems. Approvals happen in the console; the result reaches you as a signed webhook.
- There is a Python SDK (
pip install nexguard) and a Node.js SDK (npm install nexguard). - It does not embed the NexGuard interface. A key authenticates a machine, not a person; to sign your people in with your own identity provider, see single sign-on.