Skip to main content
You need a key, one curl, and a loop. Everything else on this site is detail.
1

Get a key

A workspace administrator opens Vensight, goes to Settings → Developers, and clicks Create key. Name it after the thing that will use it — Warehouse loader, GRC sync — because that name is all anyone will have to tell four keys apart later.
The key is shown once. Vensight stores only a hash of it, so it cannot be read back afterwards by anyone, including support. Put it in your secret store before you close the dialog. If you lose it, revoke it and create another.
2

Make a request

Put the address and your key in your shell once. Every example below uses them.
A page of records comes back:
If you get a 401, check Authentication. If you get a 400, the message names the parameter it did not like — see Errors.
3

Walk the whole collection

Every list response has the same five fields, so one function reads any collection.
Records come back oldest change first. That ordering is what makes the walk safe while the data is moving underneath you — see Pagination.
4

Keep it current

Do the full walk once. After that, ask only for what changed:
Take that timestamp from the highest updated_at you have successfully stored, not from your own clock, so a job that dies halfway resumes from what it actually stored. (Events, settings changes, screening answers and the change feed are never edited after they are written, so they use occurred_at or answered_at instead; see Pagination.)For near-real-time, register a webhook and keep the updated_since pull as a nightly check. Webhooks keep you current; the pull catches anything missed.

What you can read

Seventeen collections, plus the change feed:
  • Vendors: vendors, relationships, subprocessors, watchlist-alerts, screening-answers
  • Due diligence: review-cycles, document-requirements, documents (document requests), document-submissions, questions, question-answers
  • Contracts, invoices and incidents: contracts, invoices, incidents, requests
  • History: events (each vendor’s timeline) and settings-changes
  • The change feed: changes, one entry for every change across all of them
The Data model page explains how they relate. The API reference lists every field, what it means, and the values it can hold. Model your own columns from there rather than from a sample response, which only shows the values that happened to be in it.
Keep the base address in configuration rather than in your code, so it is one line to change. Issue one key per system that uses the API, so you can revoke one without breaking the others.