List the files of the onboarding form
Files the recipient uploaded with the onboarding form after the acceptance, oldest first. Only files of a submitted form. At most 50 per offer, no pages. Read permission is enough.
GET
/
offers
/
{id}
/
files
List the files of the onboarding form
curl --request GET \
--url https://app.hocdoc.com/api/v1/offers/{id}/files \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hocdoc.com/api/v1/offers/{id}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hocdoc.com/api/v1/offers/{id}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3f6b2d1a-9c84-4e27-b5a0-7d1e2c3b4a59",
"name": "Commercial register extract.pdf",
"size_bytes": 182311,
"content_type": "application/pdf",
"uploaded_at": "2026-10-09T08:12:04.512Z",
"submitted_at": "2026-10-09T08:14:40.007Z",
"question": {
"id": "register",
"label": "Commercial register extract"
}
},
{
"id": "8a1c4e7f-2b5d-4f90-a3c6-0e9d8b7a6f15",
"name": "Logo.png",
"size_bytes": 40817,
"content_type": "image/png",
"uploaded_at": "2026-10-09T08:13:27.230Z",
"submitted_at": "2026-10-09T08:14:40.007Z",
"question": {
"id": "logo",
"label": "Your logo"
}
}
]
}
⌘I
List the files of the onboarding form
curl --request GET \
--url https://app.hocdoc.com/api/v1/offers/{id}/files \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.hocdoc.com/api/v1/offers/{id}/files', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hocdoc.com/api/v1/offers/{id}/files"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3f6b2d1a-9c84-4e27-b5a0-7d1e2c3b4a59",
"name": "Commercial register extract.pdf",
"size_bytes": 182311,
"content_type": "application/pdf",
"uploaded_at": "2026-10-09T08:12:04.512Z",
"submitted_at": "2026-10-09T08:14:40.007Z",
"question": {
"id": "register",
"label": "Commercial register extract"
}
},
{
"id": "8a1c4e7f-2b5d-4f90-a3c6-0e9d8b7a6f15",
"name": "Logo.png",
"size_bytes": 40817,
"content_type": "image/png",
"uploaded_at": "2026-10-09T08:13:27.230Z",
"submitted_at": "2026-10-09T08:14:40.007Z",
"question": {
"id": "logo",
"label": "Your logo"
}
}
]
}