Querying for document information
Querying for document metadata
Use the following endpoints to retrieve document metadata.
Endpoint | Returns |
---|---|
/common/v1/documents/{documentId} |
Metadata for the given document |
/claim/v1/claims/{claimId}/documents |
Metadata for documents on the given claim |
/claim/v1/claims/{claimId}/documents/{documentId} |
Metadata for the given document |
ContactManager also has its own /contact/v1/contacts/{contactId}/documents
endpoint.
The following is a portion of an example response from the Common API's
/documents/{documentId}
endpoint.
Querying for document content
You can use the following to GET document contents. However, these contents are base64 encoded and therefore are not human-readable until they are decoded.
/common/v1/documents/{documentId}/content
/claim/v1/claims/{claimId}/documents/{documentId}/content
The following is a portion of an example response from the Common API's
/documents/{documentId}/content
endpoint.