Podio API Documentation

Files: Upload file

POST /file/

Uploads a new file. After upload the file can either be attached directly to a file using the attach operation, used to replace an existing file using the replace operation or used as file id when posting a new object. We use multipart/form-data for the request format, since most uploaded files are binary.

Usage
PHP Client
PodioFile.php
PodioFile::upload( $file_path, $file_name );
Ruby Gem
file_attachment.rb
Podio::FileAttachment.upload( file_stream, file_name )
Request

Expects the request body to be multipart/form-data with two required parameters:

  • source contents of the file
  • filename name of the file

Sandbox

The sandbox only handles GET operations for now.