GET
/
v1
/
documents
/
{id}
Get a document
curl --request GET \
  --url https://api.wellapp.ai/v1/documents/{id}
{
  "id": "<string>",
  "type": "document",
  "attributes": {
    "file_name": "<string>",
    "partner_id": "<string>",
    "customer_id": "<string>",
    "user_identifier": {
      "uuid": "<string>",
      "email": "<string>",
      "phone_number": "<string>"
    },
    "status": "<string>",
    "uploaded_at": "2023-11-07T05:31:56Z",
    "processed_at": "2023-11-07T05:31:56Z",
    "file_type": "<string>",
    "size_bytes": 123,
    "extracted_fields": {
      "vendor": "<string>",
      "total": "<string>",
      "date": "2023-12-25"
    }
  }
}

Path Parameters

id
string
required

Response

200 - application/json

Document found

The response is of type object.