title: Can I attach files (PDF) to customer.io REST API?
body: <p>I am trying to send an email through customer.io service and I need to attach a PDF to it. Ive seen little documentation about attachments, so I dont know if it is possible.</p>
  
  <p>I am trying this approach</p>
  
  <pre><code>{
    name: 'myCampaign',
    data: {
     foo: 'bar',
    },
    attachments: {
     'file.pdf': pdfInB64 
    }
  }
  </code></pre>
  
  <p>As the example here: <a href="https://gist.github.com/jrallison/3e43c58cb208841caf11" rel="nofollow noreferrer">https://gist.github.com/jrallison/3e43c58cb208841caf11</a></p>
  
  <p>Thank you !!</p>