Criar Anexo

Esta rota permite criar um anexo na plataforma Finbits.

Exemplo de código em JavaScript:

const formData = new FormData();

formData.append("file", fileInput.files[0], "example.txt");

fetch("https://api.finbits.com.br/public/attachments", {
  method: "POST",
  headers: {
    authorization: `Bearer ${FINBITS_PUBLIC_API_TOKEN}`
  },
  body: formData
}).then(response => response.json())
  .then(data => console.log(data));
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!