Consent (global)

Represents a single consent configured in DreamApply. For a consent associated with a specific applicant, see Consent.

URI
/api/v10/applicants/consents/ID

GET Get a consent

Retrieve information about a specific consent in DreamApply.

Syntax
GET /api/v10/applicants/consents/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/applicants/consents/1"

Response headers

HeaderValueDescription
Content-Typeapplication/jsonThe media type of the resource
Content-Length1456The size of the response body in bytes

Response codes

Response codeDescription
200 OKThe consent exists
400 Bad RequestThe consent ID was not valid
404 Not FoundThe consent was not found

Example response

Response
{
    "type": "Mandatory",
    "text": "I agree to the terms and conditions of data processing",
    "link": "https://apply.example.edu/terms"
}