Arquivos

Salvar arquivo

Após o upload do arquivo na URL fornecida na rota GET /core/v2/file execute este metodo para obter o ID do arquivo<br />O Id do arquivo pode ser fornecido no envio de mensagens. <br /><br />O FileId pode ser reaproveitado, não sendo necessário novos uploads para o mesmo arquivo.

post/v2/file

Request

  • Base URL: https://api.helena.run/core
  • URL: https://api.helena.run/core/v2/file
  • Auth: API key in header Authorization

Request body

tempFileIdstring uuid required

Código do arquivo

Response

Success

idstring uuid
companyIdstring uuid nullable
userIdstring uuid nullable
namestring nullable
extensionstring nullable
mimeTypestring nullable
type'UNDEFINED' | 'PDF' | 'EXCEL' | 'WORD' | 'IMAGE' | 'AUDIO' | 'VIDEO' | 'DOCUMENT'
keystring nullable
sizeinteger

Changes

No recorded changes to this operation across all 1 revision of this API.