cURL
curl --request POST \ --url https://example.com/v1/api/files/v1/filesets/{filesetId}/files \ --header 'Content-Type: multipart/form-data' \ --header 'X-DOMO-Developer-Token: <api-key>' \ --form file='@example-file' \ --form 'createFileRequest=<string>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "path": "<string>", "name": "<string>", "fileType": "<string>", "contentType": "<string>", "size": 123, "created": "2023-11-07T05:31:56Z", "createdBy": 123 }
Uploads a new file to a FileSet using multipart/form-data.
Domo Developer Token for authentication.
The file blob.
A JSON string defining upload options, e.g., '{directoryPath: }.
Basic metadata for the uploaded file.
Basic metadata for a file.