Document

Get a Document

Get details about a document, and a presigned download URL

get/entities/document/{id}

Request

Path parameters

idstring uuid required

Headers

Authorizationstring required

the access_token value returned from the JustiFi oauth/token endpoint (be sure to append Bearer before the token)

Response

Get Document

idstring uuid

the object id, also found in the data object

typestring

the object type, or array of objects

page_infounknown

Example response

{
  "id": "prefix_xyz (same as id of data object)",
  "type": "document",
  "data": {
    "id": "doc_abc123",
    "platform_account_id": "acc_123xyz",
    "description": "My Document",
    "file_name": "my_document",
    "file_type": "pdf",
    "document_type": "balance_sheet",
    "business_id": "biz_abc123",
    "identity_id": "idty_abc123",
    "presigned_url": "https://test.test/doc_abc123/file_name.pdf",
    "metadata": {
      "language": "english",
      "social_network": "@person"
    },
    "created_at": "2021-01-01T12:00:00Z",
    "updated_at": "2021-01-01T12:00:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.