ValystrumHelp
Sign in

Find endpoints in the API reference

Plans
Every plan
Where
Settings
Updated
Checked on
v0.41.2

Valystrum publishes its API in three forms. All three read the same OpenAPI file, and none needs a sign-in to open.

AddressWhat it isUse it to
https://app.valystrum.io/api-docsThe interactive referenceBrowse endpoints grouped by resource and try a call.
https://app.valystrum.io/referenceThe readable referenceRead every endpoint on one long page with a search and a menu.
https://app.valystrum.io/api/v1/openapi.jsonThe OpenAPI file (OpenAPI 3.0)Generate a client, or load it into your own tools.

The version of the API is in the title of both references, for example "Valystrum Platform API 1.23.0". The changelog at /changelog lists every API change under that version.

Find an endpoint

  1. Open /api-docs.
  2. Endpoints are grouped by resource, the part of the path after your organisation, such as findings, risks or webhooks. Open a group, then an endpoint, to see its path, its parameters, the query keys it reads and the answers it can give, with their status codes.
  3. Every path starts with /api/v1/{org}/. Put your organisation's slug in place of {org}.

In /reference, use the search box in the menu on the left to find a word such as "findings".

Try a call from the reference

  1. On /api-docs, open an endpoint and press Try it out.
  2. Choose the server: this host, or production.
  3. To call with a key, press Authorize and paste your auditor API key. If you are signed in to Valystrum in the same browser, a read is sent with your session instead.
  4. Fill in org and any parameters, then press Execute. The answer appears under the button.

What the reference does not tell you yet

Most answers are described only as a JSON object, without their fields. To see the fields, call the endpoint once and read the answer, or read Using the API: keys and the reference for the outer shape every answer shares.

Generate a client

The page /sdk gives the commands to generate typed clients from the OpenAPI file: TypeScript types with openapi-typescript, and Python and Go clients with openapi-generator. The TypeScript client Valystrum uses itself is not published yet.