Upload an image or small video file to include in your post
mediaUrls
parameter of the /post endpoint./post
endpoint with your externally accessible URL in the mediaURLs
body parameter and your file will automatically be uploaded.multipart/form-data
if sending a multipart form data - see below. Otherwise, send the standard application/json
.Content-Type
as mentioned above.
data:content/type;base64
Example encoding with Output Format Data URI:
Note: The /post endpoint accepts larger files via an external URL with the mediaUrls
parameter.