files_complete_upload
Finish an upload started with files_create_upload_url, after the bytes have been PUT to the upload_url.
Verifies the object actually landed and matches the size (and sha256, when one was declared), then makes the file usable: from here file_id works in messages_send, messages_send_email attachments, documents.create, and the rest.
Returns: file_id, status, byte_size, mime_type.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | file_id returned by files_create_upload_url | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |