Hey, you must create a file upload URL before: https://docs.dust.tt/reference/post_api-v1-w-wid-files
It will return you an uploadUrl and an ID (sId) and you will need to POST to this URL your file (binary file).
Then if you want to create a conversation/message you will need to add the following in your JSON body:
Did you tried to upload a document into the conversation (in Dust UI) and check the Network (Chrome Dev Tool) to see the body? This is how Iโve understand how to do
useCase must be always โconversationโ
useCaseMetadata is marked as required in the doc but also optional ๐ So I never filled this field (cc Alban or others for doc update)