Skip to Content
Referenceoo CLI

oo files

Upload attachments for Chat or Code.

Upload a file to attach with oo chat send or oo code send --attachment ID. An upload expires a day after it was made.

oo files upload

Upload a file of up to 5 MB for Chat or Code and print its attachment ID. Send it with the same credential within a day.

oo files upload [options] file
ArgumentRequiredDefaultChoicesDescription
fileyespath of the file to upload
--for SURFACEyeschat, code
--content-type CONTENT_TYPEnoattachment media type; inferred from filename by default

It also takes the connection options.

On this page