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.

Pfadparameter

conversation_idstringErforderlich

Header

xi-api-keystringOptional

Anfrage

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

Antwort

Successful Response
file_idstring

Fehler

422
Files Create Request Unprocessable Entity Error