View deleted files

GET /api/v1/file/bin

Query parameters

  • Filter by a comma separated list of UUIDs.

  • File name to filter by.

  • File uploaded_at date to filter from a specific date, can be used with date_to for a range.

  • File uploaded_at date to filter to a specific date, can be used with date_from for a range.

  • File extension to filter by.

  • Filter by a comma separated list of account UUIDs of who uploaded the file.

  • The size of the file to filter by. Can take two values to filter in a range or one value to get files lesser than or equal to value. Unit of file size is in kilobytes.

  • File last_modified date to filter to from a specific date, can be used with last_modified_to for a range.

  • File last_modified date to filter to a specific date, can be used with last_modified_from for a range.

  • File original_created_at date to filter from a specific date, can be used with original_created_to for a range.

  • File original_created_at date to filter to a specific date, can be used with original_created_from for a range.

  • sort string

    Field to sort by. Valid fields are [uploaded_at, created_at, updated_at, name]. Negative sign to denote DESC. Defaults to 'name'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

GET /api/v1/file/bin
curl \
 -X GET https://api.plannrcrm.com/api/v1/file/bin \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json"