Content endpoint
- Topics:
- Privacy
CREATED FOR:
- Developer
Use the /content
endpoint to securely retrieve access information (the information that a privacy subject can rightfully request to access) for your customers. The download URL provided in the response to a /jobs/{JOB_ID}
GET request points to an Adobe service endpoint. You can then make a GET request to /jobs/:JOB_ID/content
to return your customer data in JSON format. This access method implements multiple layers of authentication and access control to enhance security.
Before using this guide, please refer to the getting started guide for information on the required authentication headers presented in the example API call below.
/jobs
endpoint and use additional query parameters to filter the results. A complete list of the available query parameters can be found in the privacy jobs endpoint guide.Retrieve privacy job information
To retrieve information about a specific job, such as its current processing status, include that job’s jobId
in the path of a GET request to the /jobs
endpoint.
API format
GET /jobs/{JOB_ID}
Request
The following request retrieves the details of the job whose jobId
is provided in the request path.
curl -X GET \
https://platform.adobe.io/data/core/privacy/jobs/dbe3a6a6-f8e6-11ee-a365-8d1d6df81cc5 \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}'
Response
A successful response returns the details of the specified job.
complete
status to contain the downloadUrl
.{
"jobId":"dbe3a6a6-f8e6-11ee-a365-8d1d6df81cc5",
"requestId":"17129380910360540RX-753",
"userKey":"1234",
"action":"access",
"status":"complete",
"submittedBy":"jsnow@adobe.com",
"createdDate":"04/12/2024 04:08 PM GMT",
"lastModifiedDate":"04/12/2024 04:08 PM GMT",
"userIds":[{
"namespace":"ECID",
"value":"1234",
"type":"standard",
"namespaceId":4,
"isDeletedClientSide":false
}],
"productResponses":[{
"product":"Identity",
"retryCount":0,
"processedDate":"04/12/2024 04:08 PM GMT",
"productStatusResponse":{"status":"submitted"
}}],
"downloadUrl":"https://platform.adobe.io/data/core/privacy/jobs/dbe3a6a6-f8e6-11ee-a365-8d1d6df81cc5/content",
"regulation":"gdpr"
}
jobId
requestId
userKey
userKey
is the key
value that you provided when you submitted the privacy request. The key
value is your opportunity to provide an identifier for the data subject that makes sense to you. It is typically a unique identifier that your system created for tracking that data subject. TIP: You can list all active privacy jobs and compare your key
to each job.action
access
and delete
.status
submittedBy
createdDate
lastModifiedDate
userIds
userIds.namespace
userIds.value
userIds.type
standard
or custom
).userIds.namespaceId
userIds.isDeletedClientSide
productResponses
productResponses.product
productResponses.retryCount
productResponses.processedDate
productResponses.productStatusResponse
productResponses.productStatusResponse.status
downloadURL
complete
and the action
must be access
. Otherwise, this field is absent.regulation
gdpr
, ccpa
, lgpd_bra
, pdpa_tha
, and so on.Retrieve customer access information
To get the ‘access information’ produced in response to your data subject’s query, make a GET request to the /jobs/{JOB_ID}/content
endpoint. The response is a zip file (*.zip) that contains a folder with sub-folders for each product that holds data on the data subject.
/jobs
endpoint and use additional query parameters to filter the results. Detailed information including the allowed query parameters can be found in the privacy jobs endpoint guide.API format
GET /jobs/{JOB_ID}/content
Request
The following request returns ‘access information’ for the job ID provided in the request.
curl -X GET \
https://platform.adobe.io/data/core/privacy/jobs/32d429b1-f7f4-11ee-a365-574bcf5a525d/content \
-H 'Authorization: Bearer {ACCESS_TOKEN}' \
-H 'x-api-key: {API_KEY}' \
-H 'x-gw-ims-org-id: {ORG_ID}' \
-H 'Accept: application/json`
Response
The response is a zip file (*.zip). The information is typically returned in JSON format, although that cannot be guaranteed. Extracted data can be returned in any format.