Mantis360 Public API
The Mantis360 Public API is a simple REST/JSON interface for reading your discovered assets, vulnerability findings, and sites programmatically — for dashboards, SIEM/ticketing integrations, and reporting. Every request is authenticated with an API key and scoped to the tenant that issued it.
Overview
- Base URL:
https://api.360.mantisops.net - Version: all endpoints are under the
/public/v1prefix. - Format: JSON request and response bodies; UTF-8.
- Auth: a Bearer API key on every request (below).
- Tenancy: a key only ever sees data for the tenant that created it.
Authentication
Create keys in the Customer Portal (portal.mantisops.net) → API keys → Create API key. Account owners and admins can create keys. Set Mantis360 to Read or Write (and the other products to None unless the integration needs them), choose any limits (below), check the Review step, and create the key. Confirming it's you is required. If you grant more than one product, you get one key per product.
The key is shown once. Copy it, then click Run test from here or run the curl command shown to check it works. It can't be shown again. If a key is lost or exposed, revoke it and create a new one. Mantis360 keys begin with m3_live_.
Keys are created only in the Customer Portal. In Mantis360, Settings → API keys shows your existing keys and their limits, and you can revoke a key there.
Pass the key in the Authorization header as a Bearer token:
Verify a key and see its scopes with the ping endpoint:
Key limits
You set these when you create a key in the Customer Portal. To change them later, choose Edit limits… in the key's row menu: you can change the companies, allowed IP addresses and expiry; the key itself stays the same. The name and permissions can't be changed: create a new key instead.
| Limit | What it does |
|---|---|
| Expires | 30 days, 90 days (the default), 1 year, a date up to 3 years away, or Never. From the expiry time the key is refused with 401 { "error": "API key expired" }. The key's creator and the account's owners and admins get a reminder email 14 days and 3 days before it expires, and one more after it expires. |
| Allowed IP addresses | Up to 50 IPv4 or IPv6 addresses or CIDR ranges. A call from any other address is refused with 403 { "error": "API key not allowed from this IP address" }. |
| Companies | All companies or Only some. A limited key only sees and changes those companies' assets, findings, sites, probes and scans: lists are filtered, and a single item outside them returns 404. ping also returns the key's allowedCompanies. |
The key list in the Portal shows when each key was last used and from which IP address, and warns about keys that have expired, expire within 14 days or have never been used.
Scopes
Each key is granted one of two scopes when created. In the Customer Portal, Read gives read and Write gives read & write.
| Scope | Grants |
|---|---|
| read | All GET endpoints — list and read assets, findings, and sites. |
| read & write | Everything read allows, plus write endpoints — currently POST /public/v1/findings/{id}/status. More write endpoints are added over time. |
A request to a write endpoint with a read-only key returns 403. Grant the narrowest scope an integration needs.
429 + Retry-After when exceeded). CORS is enabled (Access-Control-Allow-Origin: *) so browser apps can call the API with a key.?limit=N&offset=M (limit capped at 1000). Omit limit to receive the full list (default — unchanged behavior). List responses include limit, offset, hasMore, and (on most endpoints) total alongside the items — page by incrementing offset until hasMore is false.Errors
Errors use standard HTTP status codes and a JSON body of the form { "error": "message" }.
| Status | Meaning |
|---|---|
| 400 | Malformed request (e.g. a required field is missing). |
| 401 | Missing, malformed, revoked, or unknown API key: { "error": "Invalid or missing API key" }. |
| 401 | The key has expired: { "error": "API key expired" }. Give it a later expiry with Edit limits in the Portal, or create a new key. |
| 403 | The key is valid but lacks the required scope: { "error": "Insufficient scope: 'write' required" }. |
| 403 | The call came from an address that isn't on the key's allowed IP list: { "error": "API key not allowed from this IP address" }. |
| 404 | The resource (e.g. an asset) was not found, or it's outside the companies the key is limited to. |
| 429 | Rate limit exceeded (120 requests / 60 s per key). Wait for the number of seconds in Retry-After. |
Endpoints
Verify an API key and return the tenant it belongs to plus its scopes. Useful as a connection test.
List every discovered asset in your tenant. Returns an array of asset objects and a total count. Add ?siteId=<id> to return only assets in one site.
Fetch a single asset by its id. Returns 404 if no such asset exists in your tenant.
List open vulnerability findings (status open or in_progress), most severe first. Returns an array of finding objects and a total count. Add ?siteId=<id> to scope to one site.
List every site in your tenant. Use a site's id to filter the assets and findings endpoints.
List your probes with online status. Fields: id, name, status, online, lastSeenAt, companyId. A probe is online if it checked in within the last 10 minutes.
List open Active Directory / Entra identity-posture findings, most severe first. Fields: id, source, targetType, targetName, category, severity, title, remediation, siteId, status, firstSeenAt, lastSeenAt.
List recent STIG/CIS compliance audit runs, most recent first. Fields: id, agentId, hostname, bundleId, bundleName, runAt, scorePct, satisfied, failed, notApplicable, notCheckable, unknown.
List scheduled scans with their last/next run. Fields: id, siteId, probeId, scanType, schedule, targets, enabled, lastRunAt, nextRunAt, lastAttemptAt, lastError, timezone, createdAt.
Set a finding's remediation status. Requires a read & write key. Body: { "status": "open" | "in_progress" | "resolved" | "accepted" | "false_positive", "notes"?: "…" }. Returns 404 if no such finding exists in your tenant.
Asset object
Fields returned for an asset. Optional fields are omitted when not available for a device.
| Field | Type | Description |
|---|---|---|
| id | string | Unique asset identifier. |
| ip | string | Primary IP address (unique per tenant). |
| hostname | string | Resolved / reported hostname. |
| os | string | Detected operating system. |
| deviceType | string | Classified device type (e.g. server, workstation, router). |
| openPorts | number[] | Open TCP ports. |
| udpPorts | number[] | Open UDP ports, when scanned. |
| macAddress | string | Primary MAC address, when discoverable. |
| tags | string[] | Operator-assigned tags. |
| riskScore | number | Composite risk score (higher = more risk). |
| siteId / probeId / companyId | string | Organizational placement + the probe that discovered it. |
| agentInstalled | boolean | Whether a Mantis360 agent is present on the host. |
| agentVersion | string | Installed agent version, if any. |
| agentLastSeenAt | number | Agent's last check-in (Unix epoch ms). |
| firstSeenAt / lastSeenAt | number | First and most-recent discovery (Unix epoch ms). |
| lastScannedAt | number | Last full scan of the asset (Unix epoch ms). |
Finding object
Fields returned for a vulnerability finding.
| Field | Type | Description |
|---|---|---|
| id | string | Unique finding identifier. |
| assetIp | string | IP of the affected asset. |
| assetId | string | ID of the affected asset, when it still resolves. |
| hostname | string | Hostname of the affected asset. |
| port / service | number / string | Affected port and detected service. |
| title | string | Human-readable finding title. |
| cve | string | Associated CVE identifier, when applicable. |
| severity | string | CRITICAL, HIGH, MEDIUM, LOW, or INFO. |
| cvssScore | number | CVSS base score (0–10). |
| epssScore | number | EPSS exploit-probability score (0–1), when available. |
| remediation | string | Suggested remediation text. |
| remediationStatus | string | open or in_progress (resolved findings are not returned). |
| firstSeenAt / lastSeenAt | number | First and most-recent detection (Unix epoch ms). |
| siteId | string | Site the finding belongs to. |