curl --location --globoff 'https://app.hustro.com/api/v2/report/project//inspection/' \
--header 'hustro-client: ' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Inspection report",
"message": "Inspection report generated for review.",
"messagePresentation": {
"inEmailNotification": false,
"inPdfReport": false
},
"recipients": [
"karol.szczepanski@hustro.com"
],
"localeCode": "pl-PL",
"showPhoneNumbers": false,
"showUserEmails": false,
"showFileNames": true,
"showFileDescriptions": true,
"showActiveLinks": true,
"issueAttachments": {
"enabled": true,
"displayStyle": "miniatures",
"scope": "all"
}
}'{
"_id": "64ed771d95a1e3d565839d18",
"deleted": false,
"createdAt": "2026-05-11T10:15:30.000Z",
"createdBy": "64c8b3ea64135b319ffaaebc",
"modifiedAt": "2026-05-11T10:15:30.000Z",
"modifiedBy": "64c8b3ea64135b319ffaaebc",
"name": "Issue report - selected fields",
"project": "64c8b3ea64135b319ffaaebc",
"client": "64c8b6fc97129b4a0f012772",
"uploadStatus": "PENDING",
"type": "PDF",
"extension": "pdf",
"localeCode": "pl",
"message": "Report generated for review.",
"issue": "64ed771d95a1e3d565839d18",
"userAccesses": [],
"emailAccesses": [
{
"_id": "64c8b6fc97129b4a0f012773",
"deleted": false,
"createdAt": "2026-05-11T10:15:30.000Z",
"modifiedAt": "2026-05-11T10:15:30.000Z",
"email": "test@hustro.com"
}
],
"filePartData": {
"type": "single"
}
}