Get a report
/care/v1/report/{report_id}/get/documentreport:readBAA requiredReturns one signed report of a visit your company booked, as the patient sees it: only the
sections the specialist shared with the patient. The patient's own details, the specialist's
signature and any private notes are never part of it. A section of type image or pdf has
has_file: true; ask for a time-limited link to read its file.
Answers 404 for a report of a visit the patient booked themselves, that another company
booked, or that does not exist; 409 connection_not_active when the patient's connection with
your company was revoked; 403 connection_scope_not_granted when the patient does not share
reports.
Needs the report:read scope.
Path parameters
report_idstringrequiredThe ID of the report.
Min length 1 · Max length 200 · Pattern ^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$
Response 200
booking_idstringrequiredThe ID of the booking the report documents.
created_atstring (date-time)requiredWhen the report was created, in UTC.
report_idstringrequiredThe ID of the report.
sectionsarray of ReportSectionrequiredThe shared sections, lowest order first.
Show child attributesHide child attributes
created_atstring (date-time)requiredWhen the section was created, in UTC.
has_filebooleanrequiredWhether the section has a file to download. If it does, ask for a time-limited link to the file of the section.
report_idstringrequiredThe ID of the report the section belongs to.
section_contentstringnullableThe Markdown body of the section. An
imageor apdfsection has none: read its file instead.section_descriptionstringnullableThe description of the section, if any.
section_idstringrequiredThe ID of the section.
section_namestringrequiredThe name of the section.
section_orderintegerrequiredThe render order of the section, lowest first.
section_typeenumrequiredThe type of the section:
note,table,image,pdforsignature.notetableimagepdfsignature
signed_onstring (date-time)nullableWhen the specialist signed the section, in UTC, if they did.
updated_atstring (date-time)requiredWhen the section was last updated, in UTC.
signed_atstring (date-time)requiredWhen the report was signed, in UTC.
specialiststringrequiredThe ID of the specialist who wrote the report.
specialist_snapshotReportSpecialistSnapshotrequiredWho wrote the report, as they were named when it was written.
Show child attributesHide child attributes
first_namestringnullableThe first name, as it stood when the report was written.
full_namestringnullableThe full name of the specialist, for display.
last_namestringnullableThe last name, as it stood when the report was written.
specialist_idstringnullableThe ID of the specialist who wrote the report.
specialist_typeenumnullableThe kind of specialist.
DietitianCertified Nutrition SpecialistPhysical Trainer
statusenumrequiredThe status of the report:
draftorsigned.draftsigned
updated_atstring (date-time)requiredWhen the report was last updated, in UTC.
userstringrequiredThe ID of the patient.
Errors
Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.
{
"error": {
"code": "not_found",
"message": "The object does not exist.",
"request_id": "req_0123456789abcdef0123456789abcdef"
}
}| Status | Code | Meaning |
|---|---|---|
401 | invalid_api_key | The API key is missing or not valid. |
403 | company_archived | This company is archived. |
403 | company_not_live | The company must be live to use prod keys. |
403 | company_suspended | This company is suspended. |
403 | connection_scope_not_granted | The connection does not hold the care.reports scope. |
403 | scope_not_granted | This API key does not have the report:read scope. |
404 | not_found | The requested resource was not found. |
409 | connection_not_active | The connection is not active. |
422 | validation_error | path.report_id: String should match pattern '^[A-Za-z0-9_-][A-Za-z0-9._-]{0,199}$' |
429 | rate_limited | Too many requests. Wait before calling again. |
500 | internal_error | Something went wrong on our side. Please try again later. |
502 | upstream_error | A Nurish'd service could not complete the request. |
503 | upstream_unavailable | A Nurish'd service is unavailable. Please try again later. |
504 | upstream_timeout | A Nurish'd service did not answer in time. Please try again. |