API & webhooks New

Run ClickScan.AI
from your own tools.

A REST API for your assets, scans, findings and credit balance, and signed webhooks that call you when a scan finishes. Everything it does, you can already do in the app — the point is doing it without a person clicking.

Keys are made in the app under Settings → API access. The full reference, with a console that sends real requests, is in the app’s Knowledge Center.

What people build with it

Most of the API reads. Two endpoints write: adding an asset and starting a scan.

A dashboard of your worst assets

Read every asset with its grade, or one asset’s whole posture, and show it wherever your team already looks.

New findings filed as tickets

A webhook tells you the moment a scan finishes; read that scan with its findings and open a ticket for each one worth fixing.

A grade check before a release

Ask for the latest grade of the asset you are about to ship to, and stop the release if it has dropped.

Scans started from your pipeline

Add an asset and start a scan with one call each. Starting a scan spends credits from whoever pays for that asset, as it does in the app. Recurring and booked scans are still set up in the app.

Keys that can only ever narrow

A key acts as the person who made it. It can never reach anything that person cannot, and it can be given considerably less.

Read-only, or read and write

A read-only key reaches every endpoint that answers a question and none that changes anything. Choose which workspaces a key may reach, and give it an expiry date for anything with an end, such as a contractor or a migration.

A daily spending cap

Give a key a cap and a scan that would pass it is refused, with a message saying the cap, what has been asked for in the last 24 hours and what this scan costs. A key can also be limited to the addresses your integration runs from.

See what a key has done

Each key shows its calls in the last minute and the last day against its limits, the credits it has spent, and the address each call came from.

Shown once, rotated or revoked

The secret is shown once and we keep only a one-way hash of it. Keys start with cs_live_, so a secret scanner can recognise one that leaks, and a key can be rotated or revoked whenever you need to.

Webhooks: told when a scan finishes

Instead of asking every minute whether a scan is done, give us an address and we call it when the scan reaches its end state.

Three events

scan.completed when a scan ran and has a grade, scan.failed when it did not finish, and scan.blocked when it was refused because of its target. Choose which events an endpoint receives, and tie it to one asset or to all of them.

Signed, and HTTPS only

Every delivery carries a timestamp and a signature you check with the endpoint’s own secret, and we refuse any address that is not https://. An endpoint only ever hears about your own scans.

Built for code that runs unattended

An OpenAPI 3.1 description

Point Postman, Swagger UI, Insomnia or a client generator at it and get the endpoints, parameters and response shapes. It is generated from the same list the API enforces, so it cannot promise an endpoint the API refuses.

Safe retries

Send an Idempotency-Key with every write and a retried request returns the first answer instead of adding a second asset or starting a second scan. Rate-limit headers say where you stand, and every refusal is JSON written for a person to read.

Make your first key

Sign up, add an asset, and create a key under Settings → API access. New accounts get free starter credits, with no card and no subscription.

Get free access