Attachments

Represents a list of attachments to an email.

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

GET List email attachments

Get a list of email attachments.

Syntax
GET /api/v9/applicants/123/emails/1/attachments
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"

Response headers

HeaderValueDescription
Content-Typeapplication/json; charset=utf-8Media type of the resource
X-Count1Number of returned attachments

Response codes

Response codeDescription
200 OKThe list of email attachments was successfully returned

Example response

Response
{
  "0": {
    "name": "greek-1.jpg",
    "size": 31334
  }
}