Skip to main content
GET
Get a document

Authorizations

x-cominty-token
string
header
required

A Cominty Platform API secret. A key created now starts with sk-cmt-. Send it as is, or as Bearer sk-cmt-..., with at most one Bearer prefix. A key created before the prefix existed has no sk-cmt- and still works.

Query Parameters

id
string
required

Composite document id stored in DynamoDB (may contain #).

Response

Successful Response

document_id
string
required

Source id, a #, and the document's own identifier.

source_id
integer
required

Numeric id of the source. Use it in source_ids.

document_name
string
required
document_uri
string | null
required

Link to the document. null when there is none. For a drag-and-drop source it ends with the file id.

source_pid
string
required

Public id of the source. Use it in paths.

source_type
enum<string>
required
Available options:
googledrive,
sharepoint,
draganddrop
document_extension
string
required
document_mime_type
string
required