v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Knowledge Base

Create webpage resource

Create a webpage (URL-type) resource in the Trust Knowledge Base.

post/knowledge-base/resources/webpages

Request body

titlestring required

The title of the webpage resource.

urlstring uri required

The URL of the webpage.

descriptionstring

A description for the webpage resource.

customerVisibility'PRIVATE' | 'SHAREABLE' | 'REQUEST_ACCESS' | 'PUBLIC'

Customer-facing visibility of a knowledge-base resource on the Trust Center. Use {@link CUSTOMER_VISIBILITY_TO_DB} to translate to {@link TrustCenterResourceVisibility} when persisting.

includeSubPagesboolean

Whether to scan sub-pages one level deep alongside the primary URL.

isUsedInQuestionnairesboolean

Whether the resource should be used for question-answering in Questionnaire Automation.

expirationDatestring

Expiration date in ISO 8601 format.

categoryIdstring nullable

Trust Center category id to associate this resource with. Pass null to keep the resource uncategorized. Only valid when customerVisibility is REQUEST_ACCESS or PUBLIC; other combinations and unknown ids return an InvalidInputError.

Response

Ok

idstring required
type'URL' required
titlestring required
descriptionstring nullable required
urlstring required
customerVisibility'PRIVATE' | 'SHAREABLE' | 'REQUEST_ACCESS' | 'PUBLIC' | 'null' nullable required
includeSubPagesboolean nullable required
isUsedInQuestionnairesboolean nullable required
expirationStatus'CURRENT' | 'EXPIRED' required

Customer-facing expiration status used by knowledge-base API responses (answer library entries and resources). Derived from the persisted expiresAt field at read time.

expirationDatestring nullable required
lastUpdatedstring required
lastVerifiedstring nullable required
categoryIdstring nullable required

Trust Center category id the resource is currently filed under, or null if uncategorized (or not on the Trust Center, which is the case for PRIVATE / SHAREABLE resources).