Create vendors and attach documentation
Create a Vendor
Create a new vendor in your Vanta instance using the REST API.
Endpoint:
POST /vendors
Required fields:
- vendorName
- vendorWebsite
- vendorCategory
Fields not populated at creation can be updated later.
Example Request (cURL):
curl --location --request POST 'https://api.vanta.com/v1/vendors' \
--header 'Authorization: Bearer vat_YOUR_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"vendorName": "Acme Corp",
"vendorWebsite": "https://acmecorp.com",
"vendorCategory": "Cloud Storage"
}'
Attach Evidence to a Vendor
Once you have the vendorId
, you can attach documentation to that vendor.
Endpoint:
POST /vendors/:vendorId/documents
Supported File Types:
.docx
,.pdf
,.jpg
,.png
,.xlsx
Note: Currently, you cannot attach links as evidence via the API.
Updated 4 days ago