teamleader_files_upload
Obtain an upload URL for a file to be linked to a Teamleader record. Specify the subject type, subject ID, and file name; then upload the file bytes to the returned URL.
Instructions
Step 1 of a two-step file upload flow — returns an upload URL/location; the actual bytes are then PUT to that URL out of band. Provide the subject to link the file to and the intended file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | Name of the file to upload | |
| subject_id | Yes | ID of the linked subject | |
| subject_type | Yes | Type of the linked subject, e.g. 'contact', 'company', 'deal' |