---
title: "Retrieves secure links to registration details pages searching by the Reference Id."
method: POST
path: "/api/report-view/by-referenceid"
tags: ["ReportView"]
---

# Retrieves secure links to registration details pages searching by the Reference Id.

`POST /api/report-view/by-referenceid`

It may return none, one or many (up to 20) matching results.
Each result contains a secure url; UTC date/time of when the link expires; name details of a person associated with the registration.

## Headers

- `apikey` string, required

## Request body

- CredasApiModelsReportViewGetReportViewByReferenceIdRequest
  - `referenceId` string, required
  - `user` string
  - `canVerify` boolean
  - `canChangeStatus` boolean

## Response `200`

Results of the query

- CredasApiModelsReportViewGetReportViewResponse
  - `results` CredasApiModelsReportViewReportViewItem[]
    - `url` string
    - `validUntil` string, date-time
    - `forename` string
    - `surname` string

## Other responses

- `400` — If the service was supplied invalid data.
- `401` — If credentials supplied were invalid.
- `500` — If an unexpected exception occurred whilst processing the request.

---

[API](https://skmtc.dev/credas/apis/credas-api.md) · [All operations](https://skmtc.dev/credas/apis/credas-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/credas/credas-api/revisions/a8dd82736563/schema)
