Document

Represents a single document attached to an application (binary data).

URI
/api/v10/applications/ID/documents/ID

GET Get a document

Retrieve a specific document (binary data).

Syntax
GET /api/v10/applications/123/documents/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/v10/applications/123/documents/1"

Response headers

HeaderValueDescription
Content-Typeimage/jpegThe media type of the resource
Content-Length1234The size of the response body in bytes
Last-Modified2025-05-16T14:59:53+00:00The date and time when the document was last modified

Response codes

Response codeDescription
200 OKThe binary data of the document was successfully returned
404 Not FoundThis document does not belong to this application