POST
/
api
/
v1
/
customer_documents
/
upload
{
  "customer_external_id": "string",
  "display_name": "string",
  "external": {
    "file_size": "integer",
    "file_url": "string"
  },
  "file_name": "string",
  "internal": {
    "FileData": [
      "integer"
    ],
    "file_data": "string"
  },
  "tag_codes": [
    "string"
  ]
}
{
  "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"
  ]
}

Body parameters

customer_external_id
string
display_name
string
external
UploadDocumentExternalInput
file_name
string
internal
UploadDocumentInternalInput
tag_codes
string[]

Response body

  • 200

  • default

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[]