Upload conversation file

Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.

Path parameters

conversation_idstringRequired

Headers

xi-api-keystringOptional

Request

This endpoint expects a multipart form containing a file.
filefileRequired
Image or PDF file to upload

Response

Successful Response
file_idstring

Errors