Document

Represents a single document attached to the task.

URI
/api/v9/applications/ID/tasks/ID/documents/ID

GET Get a document

Retrieve the document (binary) data.

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

Response headers

HeaderValueDescription
Content-Typeimage/jpegMedia type of the resource
Content-Length1234Size of the response body in bytes
Last-Modified2025-05-16T14:59:53+00:00Date 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 task