POST
/
api
/
v1
/
customer_documents
/
search
{
  "filters": {
    "customer_external_id": "string",
    "display_name": "string",
    "file_name": "string",
    "file_types": [
      "string"
    ],
    "max_created_at": "integer",
    "min_created_at": "integer",
    "tags": [
      "string"
    ]
  },
  "limit": "integer",
  "offset": "integer"
}
{
  "documents": [
    {
      "created_at": "integer",
      "customer_external_id": "string",
      "display_name": "string",
      "file_mime": "string",
      "file_name": "string",
      "file_size": "integer",
      "file_source": "string",
      "file_type": "string",
      "file_url": "string",
      "id": "string",
      "last_revision_agent_id": "integer",
      "last_revision_created_at": "integer",
      "last_revision_id": "string",
      "tags": [
        "string"
      ]
    }
  ],
  "total": "integer"
}

Body parameters

filters
SearchDocumentsFiltersInput
limit
integer
offset
integer

Response body

documents
CustomerDocument[]
total
integer
{
  "filters": {
    "customer_external_id": "string",
    "display_name": "string",
    "file_name": "string",
    "file_types": [
      "string"
    ],
    "max_created_at": "integer",
    "min_created_at": "integer",
    "tags": [
      "string"
    ]
  },
  "limit": "integer",
  "offset": "integer"
}
{
  "documents": [
    {
      "created_at": "integer",
      "customer_external_id": "string",
      "display_name": "string",
      "file_mime": "string",
      "file_name": "string",
      "file_size": "integer",
      "file_source": "string",
      "file_type": "string",
      "file_url": "string",
      "id": "string",
      "last_revision_agent_id": "integer",
      "last_revision_created_at": "integer",
      "last_revision_id": "string",
      "tags": [
        "string"
      ]
    }
  ],
  "total": "integer"
}