v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Trust Centers

Add Trust Center viewer

Adds a viewer and grants them access to a Trust Center.

post/trust-centers/{slugId}/viewers

Path parameters

slugIdstring required

Request body

emailstring required

Email of the viewer.

namestring required

Name of the viewer.

companyNamestring required

Name of the viewer's company.

isNdaRequiredboolean required

Whether to require an NDA for the viewer.

expirationDatestring date-time

The date access should expire for this viewer. If a date isn't provided, access will not expire.

resourceIdsstring[]

Identifiers for the resources that this viewer should have access to. If this field is omitted, the viewer will have access to all resources on the Trust Center.

accessLevel'FULL_ACCESS' | 'PARTIAL_ACCESS' required

The access level of the viewer. FULL_ACCESS means having access to all resources on the trust center. PARTIAL_ACCESS means having access to all public resources and a select list of requestable resources.

customerTrustAccountIdstring

ID of a Customer Trust Account to associate with this viewer.

Response

Ok

idstring required

Unique identifier for the viewer.

emailstring required

Email of the viewer.

namestring nullable required

Name of the viewer.

companyNamestring nullable required

Name of the viewer's company.

resourceIdsstring[] nullable required

IDs for the resources this viewer has access to. If null, the viewer has access to all resources on the Trust Center.

accessLevel'FULL_ACCESS' | 'PARTIAL_ACCESS' required

The access level of the viewer. FULL_ACCESS means having access to all resources on the trust center. PARTIAL_ACCESS means having access to all public resources and a select list of requestable resources.

creationDatestring date-time required

Date the viewer was created.

updatedDatestring date-time required

Date the viewer was last updated.

expirationDatestring date-time nullable required

Expiration date for the viewer's access.

customerTrustAccountIdstring nullable required

ID of the Customer Trust Account associated with this viewer.