Skip to main content
POST
/
trust-centers
/
{slugId}
/
resources
Create Trust Center document
curl --request POST \
  --url https://api.vanta.com/v1/trust-centers/{slugId}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'title=<string>' \
  --form 'isPublic=<string>' \
  --form 'description=<string>'
{
  "id": "4b1e7a8c3d9f6a2b5c8d0e3f",
  "title": "Resource title",
  "mimeType": "application/pdf",
  "fileName": "resource.pdf",
  "creationDate": "2020-01-01T00:00:00.000Z",
  "updatedDate": "2020-01-01T00:00:00.000Z",
  "isPublic": true,
  "description": "Resource description"
}

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slugId
string
required

Body

multipart/form-data
file
file
required
title
string
required

Title of the Trust Center document.

isPublic
string
required

Boolean determining whether the document is publicly available.

description
string

Description of the uploaded document.

Response

201 - application/json

Trust Center document created

id
string
required

Unique identifier for the document.

fileName
string | null
required

The file name of the document.

title
string
required

The document's title.

description
string | null
required

The document's description

mimeType
string
required

Mime type of the document.

creationDate
string<date-time>
required

Date of when the document was uploaded.

updatedDate
string<date-time>
required

Date when the document was last updated.

isPublic
boolean
required

Boolean determining whether the document is publicly available.