Attachment

Represents a single attachment to an email sent to an applicant.

URI
/api/v9/applicants/ID/emails/ID/attachments/ID

GET Download an email attachment

Download a specific attachment.

Syntax
GET /api/v9/applicants/123/emails/1/attachments/1
Host: apply.example.edu
Authorization: DREAM apikey="..."

Example request

Request
curl
curl \
  -X GET \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v9/applicants/123/emails/321/attachments/1"

Response headers

HeaderValueDescription
Content-Typeapplication/octet-streamMedia type of the resource

Response codes

Response codeDescription
200 OKThe email attachment data was successfully returned
404 Not FoundThe email has no attachments