<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Offer attachment on DreamApply Knowledge Base</title><link>https://help.dreamapply.com/api/api_applications_id_offers_id_attachments_id/</link><description>Recent content in Offer attachment on DreamApply Knowledge Base</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://help.dreamapply.com/api/api_applications_id_offers_id_attachments_id/index.xml" rel="self" type="application/rss+xml"/><item><title>Offer attachment download</title><link>https://help.dreamapply.com/api/api_applications_id_offers_id_attachments_id_download/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://help.dreamapply.com/api/api_applications_id_offers_id_attachments_id_download/</guid><description>&lt;p&gt;Represents a single offer attachment (the binary blob).&lt;/p&gt;











&lt;div class=" code-block-container standalone-code-block "&gt;
 
 &lt;div class="code-block-header"&gt;
 &lt;div class="code-block-title"&gt;Syntax&lt;/div&gt;
 &lt;div class="code-block-controls" data-copy-target="#single-code-18b19672048a8bd4"&gt;
 
 
 &lt;/div&gt;
 &lt;/div&gt;
 
 &lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-html" id="single-code-18b19672048a8bd4" data-lang="html"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/api/v9/applications/ID/offers/ID/attachments/ID/download
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Host: apply.example.edu
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Authorization: DREAM apikey=&amp;#34;...&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="get"&gt;&lt;i class="fas fa-method-get"&gt;GET&lt;/i&gt; Download an offer attachment&lt;a class="td-heading-self-link" href="#get" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Download a specific attachment.&lt;/p&gt;
&lt;p&gt;There are two major ways that an attachment can be created:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Uploading a file when composing the offer letter (this request returns the uploaded bytes verbatim)&lt;/li&gt;
&lt;li&gt;Generating a PDF attachment from a letterhead &lt;a href="#notes"&gt;[1]&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In addition:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An attachment can be specified as part of an offer type, in which case it is attached automatically&lt;/li&gt;
&lt;li&gt;An attachment can be &lt;a href="https://help.dreamapply.com/api/api_applications_id_offers_id_letters/#post"&gt;posted from the API&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="notes"&gt;Notes&lt;a class="td-heading-self-link" href="#notes" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Note [1]&lt;/strong&gt;: Letterheads are document templates that can be used to generate attachments to offers. In reality, there is also a middle-step in that process &amp;mdash; first a Letter is created from the Letterhead (and can be accessed using &lt;code&gt;GET&lt;/code&gt; &lt;a href="https://help.dreamapply.com/api/api_applications_id_offers_id_letters/#get"&gt;&lt;code&gt;/api/v9/applications/ID/offers/ID/letters&lt;/code&gt;&lt;/a&gt;). Such a Letter represents a generated (and potentially user-customised) document, where each template marker has already been replaced by actual applicant data. For the purposes of attaching to an offer, the Letter is converted to a PDF and attached o an offer just like a regular uploaded PDF. All of this happens seamlessly in the UI, however, for the API the entire data model is explicitly shown.&lt;/p&gt;</description></item></channel></rss>