Skip to main content
Version: main

Create or link document

Create a document or link an existing record as a document.

HTTP request​

POST /api/now/v1/documents/createDocument

Path parameters​

None.

Query parameters​

None.

Request body​

Parameters for this operation are carried in the request configuration; don't supply a body model.

Response​

An item envelope of Document.

Example​

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