Newer Version Available

This content describes an older version of this product. View Latest

Post a Binary File

For detailed information about uploading and posting binary files, see Using Chatter REST API Inputs, which includes examples for:

In version 36.0 and later, you can’t create a feed post and upload a binary file in the same request. Upload files to Salesforce first, and then use the file IDs to attach one or more files to a feed post.

Important