---
title: "Get Link entry URL"
method: GET
path: "/workspaces/{workspaceId}/consultations/{consultationId}/link/entry-url"
tags: ["link"]
---

# Get Link entry URL

`GET /workspaces/{workspaceId}/consultations/{consultationId}/link/entry-url`

## Request

- Base URL: `https://vetnio.com/api/v2`
- URL: `https://vetnio.com/api/v2/workspaces/{workspaceId}/consultations/{consultationId}/link/entry-url`
- Auth: HTTP bearer

Returns the Link web URL of the journal entry this consultation was last exported to. Returns `404 NOT_FOUND` when the consultation has never been exported to Link (or the animal can no longer be found among the customer's active animals), and `400 BAD_REQUEST` when the entry has no customer.

## Path parameters

- `workspaceId` string, required: Identifier of the clinic (workspace), as returned by `GET /workspaces`. The key's user must be a member of the clinic, or an admin of the organization it belongs to.
- `consultationId` string, required: Identifier of the Vetnio consultation (UUID) whose structured clinical note is exported to, or matched against, Link.

## Response `200`

Canonical Link entry URL.

- object: Where to open the consultation's Link journal entry.
  - `entryUrl` string, required: Deep link that opens the journal entry in Link's web app (format `https://<subdomain>.linkjournal.se/customers/<customerId>/animals/<animalId>?only_entry=<entryId>`).

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/vetnio/apis/vetnio-api.md) - [All operations](https://skmtc.dev/vetnio/apis/vetnio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vetnio/apis/vetnio-api/revisions/d004afd5617d?raw)
