PentesysDocs Sign in

Pentesys API

A REST API for reading and updating your Pentesys data from scripts, dashboards, SIEMs and other systems, with exactly the access you have in the portal.

Applies to
Public API v1
For
Developers, integrators
Reading time
1 min
Last updated
26 November 2026

At a glance#

Base URL
https://api.pentesys.io/v1
Authentication
A personal API key as Authorization: Bearer pts_…. See Authentication and paging.
Format
JSON requests and responses over HTTPS.
Rate limit
60 requests per minute per key.
Interactive reference
api.pentesys.io/docs: every endpoint and schema, with a "try it" console.
OpenAPI document
https://api.pentesys.io/v1/openapi.json (OpenAPI 3.0), for generating clients.
Health check
GET https://api.pentesys.io/v1/health returns {"status":"ok"} without a key.

Quick start#

  1. Create a personal API key. Read only is enough to start.
  2. Keep it in an environment variable rather than in your script:
    export PENTESYS_API_KEY="pts_YOUR_KEY"
  3. Check who the key acts as:
    curl -s https://api.pentesys.io/v1/me \
      -H "Authorization: Bearer $PENTESYS_API_KEY"
    {
      "name": "Alex Example",
      "email": "alex@acme.example",
      "organisation": { "name": "Acme Ltd", "slug": "acme" },
      "roles": ["Security analyst"],
      "permissions": ["assets.view", "findings.view", "findings.triage", "remediation.view", "remediation.manage"],
      "asset_group_scope": null
    }

    asset_group_scope is null for Workspace scope, or a list of asset group ids if you are limited to groups.

  4. Make your first real call:
    curl -s "https://api.pentesys.io/v1/findings?status=open&severity=Critical" \
      -H "Authorization: Bearer $PENTESYS_API_KEY"

What you can do#

AreaReadChange
Identity, members, rolesYou, members, role profiles
ProgrammeOverview figures, programme periods
AssetsAssets, asset groupsAsset owner, group owner
FindingsFindings with full detailStatus: Open, In progress, Retest requested
RemediationActions and historyOwner, status, evidence, ticket, due date
ExposureSummary, records, risk decisions, sourcesOwner, validation requests, risk decision requests
TestingValidate engagements, Adversary campaigns, reportsCampaign discussion topics and replies; generate a report
BillingSummary, invoices, subscriptions, billing profile, prepaid creditsBilling profile

The API gives exactly the access you have in the portal. Pentesys-only steps, such as marking a finding Fixed or verifying a remediation action, are not available. Bookings are made in the portal.

Next steps#