Create the file records for all files added to the Filepond queue. Run in API Explorer

POST /api/v1/upload-files/create
application/json

Body

  • files array[object] Required

    An array of files to be uploaded.

    Hide files attributes Show files attributes object
    • name string

      The name of the file.

    • filename string

      The filename of the file.

    • extension string

      The file extension.

    • type string

      The mime type of the file.

    • size integer

      The size of the file in bytes.

    • last_modified integer

      The last modified timestamp of the file. unix timestamp format.

Responses

  • 401 application/json
    Hide response attribute Show response attribute object
    • message string
POST /api/v1/upload-files/create
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/upload-files/create' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"files":[{"name":"My new File","size":1024,"type":"application/pdf","filename":"my new file.pdf","extension":"pdf","last_modified":1766574178}]}'
Request examples
{
  "files": [
    {
      "name": "My new File",
      "size": 1024,
      "type": "application/pdf",
      "filename": "my new file.pdf",
      "extension": "pdf",
      "last_modified": 1766574178
    }
  ]
}
Response examples (401)
{
  "message": "Unauthenticated."
}