By the end of this quickstart you’ll have a working access token and you’ll have used it to list the documents stored in your Vanta instance, filtered by compliance framework.Documentation Index
Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin
Make sure you have:- A Vanta account with admin access.
- A terminal or HTTP client (cURL, Postman, or your language of choice).
This quickstart is for security engineers and admins automating their own Vanta account. If you’re a partner building a public integration, see the Build an Integration quickstart. If you’re a Vanta audit partner, see the Conduct an Audit quickstart.
Create a Manage Vanta application
Vanta Dashboard — sign in to Vanta, open Settings → Developer Console, and click Create.Choose Manage Vanta as the app type, then fill in:
-
Application name —
Demo Manage Vanta App(or enter a name of your choosing). -
Application description —
Vanta quickstart demo app
client_id is auto-generated. Click Generate client secret to create the secret. Store both values securely. You can rotate the secret at any time.Get an access token
From your terminal, exchange your client credentials for an access token. This quickstart only makes read calls, so request the minimum scope: Expected response:
vanta-api.all:read.One token at a time. Vanta only allows one active access token per application — requesting a new token immediately revokes the previous one. Tokens expire after one hour.
Got a 401 or invalid_client?
Got a 401 or invalid_client?
Double-check the
client_id and client_secret from the Developer Console. If you rotated the secret, the old one is no longer valid. Make sure your Content-Type header is application/json — Vanta’s /oauth/token does not accept form-encoded bodies.Got an invalid_scope error?
Got an invalid_scope error?
You requested a scope that isn’t available to Manage Vanta apps. For this quickstart, request only
vanta-api.all:read.List your frameworks
From your terminal, call Expected response — note the
GET /v1/frameworks to see which compliance frameworks are active in your Vanta instance, and grab a frameworkId to use in the next step. Replace your_token_here with the access_token from Step 2.id field on each framework (e.g. soc2, iso27001_2022):List documents for that framework
From your terminal, call Expected response:
GET /v1/documents and filter by the frameworkId you just got with the frameworkMatchesAny query parameter. Reuse the access_token from Step 2.Empty `data` array?
Empty `data` array?
Either the framework has no documents yet, or the
frameworkId doesn’t match a framework in your instance. Re-run Step 3 and copy the id exactly — it’s case-sensitive (e.g. soc2, not SOC2).Verify it worked
Pick a document from the response, copy its
url field, and open it in your browser. The url is a deep link to that document’s page in the Vanta dashboard, so you’ll land on the same record the API just returned to you.Confirm that on the dashboard page:- The title, category, and document match what the API returned.
- Open or download the document and verify it’s the file your team expected to see for this evidence request.
| Scenario | Test input | Expected result |
|---|---|---|
| Success | A document with uploadStatus: "OK" from the response | url opens the document page in Vanta; title / category match; the attached file matches what was uploaded |
| Common failure | Expired access_token (older than one hour) | API returns 401 Unauthorized — re-run Step 2 for a fresh token |
| Edge case | A document with uploadStatus: "Needs document" | url opens the document page, but no file is attached yet — expected when no evidence has been uploaded for this requirement |
Congratulations
You have a working Manage Vanta token and you’ve used it to read documents out of your Vanta instance. From here you can:- Create a document with
POST /v1/documentsto track new evidence. - Filter further by combining
frameworkMatchesAnywithstatusMatchesAnyto find documents that need attention. - Upload evidence to an existing document via the document upload endpoint (requires the
vanta-api.documents:uploadscope).
Next steps
Create a document
Use the same token to add a new document to your Vanta instance.
Upload evidence to a document
Attach a file to an existing document in three steps.
Browse the Manage Vanta API
Every endpoint available to Manage Vanta apps.
Set up Postman
Import the Vanta collection and start testing requests in seconds.