---
title: "Retrieves secure link to registration details page searching by the Registration Id."
method: POST
path: "/api/report-view/by-registrationid"
tags: ["ReportView"]
---

# Retrieves secure link to registration details page searching by the Registration Id.

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

It may return none or one matching result.
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

- CredasApiModelsReportViewGetReportViewByRegistrationIdRequest
  - `registrationId` string, uuid, 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)
