get
https://api.vanta.com/v1/audits//information-requests//comments
Retrieves a paginated list of comments for an information request, enabling auditors to view communication history and collaborate with customers.
This endpoint always includes soft-deleted records (where deletionDate !== null).
Clients should check the deletionDate field to identify and handle deleted records
appropriately in their systems.
This endpoint supports delta synchronization via the changedSinceDate parameter,
allowing efficient polling for changes without retrieving the entire dataset.
Pagination usage:
- Make initial request with desired
pageSize - Check
results.pageInfo.hasNextPageto see if more data exists - If true, use
results.pageInfo.endCursoraspageCursorin next request - Repeat until
hasNextPageis false
Delta sync usage:
- Store the timestamp of your last sync
- Pass that timestamp as
changedSinceDate - Only comments created, modified, or deleted since that timestamp are returned
- Process updates, including soft-deletes (deletionDate !== null)
- Update your last sync timestamp to the current time
