Get a presigned URL to share a file in a channel.
Get a presigned URL to share a file in a channel.
Get a presigned URL to share a file in a channel. Returns : PUT the raw file bytes to uploadUrl with the given headers, then pass attachmentId in send-message’s attachmentIds. You must be a member of the channel.
POST
Get a presigned URL to share a file in a channel.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The channel the file will be shared in.
Original file name (with extension).
MIME type. Allowed: images, text/code, application/pdf, json, xml, yaml, zip, gzip.
File size in bytes. Rejected if it exceeds the workspace file-size limit.

