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.

Parâmetros de caminho

conversation_idstringObrigatório

Cabeçalhos

xi-api-keystringOpcional

Solicitação

This endpoint expects a multipart form containing a file.
filefileObrigatório
Image or PDF file to upload

Resposta

Successful Response
file_idstring

Erros

422
Files Create Request Unprocessable Entity Error