Skip to main content
Version: main

List document versions

Retrieve a document's version history.

HTTP request

GET /api/now/v1/documents/versions/{document_sys_id}

Path parameters

NameDescription
document_sys_idDocument sys_id

Query parameters

None.

Request body

Don't supply a request body for this method.

Response

A collection envelope of Document.

Example

response, err := client.Now().Documents().Versions("{documentSysID}").Get(ctx, nil)
if err != nil {
log.Fatal(err)
}
Was this page helpful?