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.

Paramètres de chemin

conversation_idstringRequis

En-têtes

xi-api-keystringOptionnel

Requête

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

Réponse

Successful Response
file_idstring

Erreurs

422
Files Create Request Unprocessable Entity Error