---
title: "Resolve an opportunity to a dashboard deep link"
method: GET
path: "/v1/opportunities/{opportunity_id}/actions/deep_link"
tags: ["Opportunities"]
---

# Resolve an opportunity to a dashboard deep link

`GET /v1/opportunities/{opportunity_id}/actions/deep_link`

## Request

- Base URL: `https://api.yardstick.team`
- URL: `https://api.yardstick.team/v1/opportunities/{opportunity_id}/actions/deep_link`
- Auth: HTTP bearer

Resolve an opportunity to a dashboard deep link

**Required scopes:** `opportunities:read`

Returns `{ id, web_url, route, mode }` pointing at the dashboard `OpportunityDetailPage` for candidate/interview-cycle workflow. Opportunity dashboard URLs use `/opportunities/:id`; during the current compatibility window, `:id` may be the `opp_…` display id exposed by list/read responses or the raw application UUID returned by this deep-link endpoint. Application Review detail links use `/jobs/:jobId/review/:applicationId`. Mode-partitioned: a live token requesting a test opportunity returns `404 not_found`.

**Example (curl):**

```bash
curl https://api.yardstick.team/v1/opportunities/opp_def456/actions/deep_link \
  -H 'Authorization: Bearer ys_sk_live_…'
```

**Example (TypeScript):**

```ts
await fetch(
  "https://api.yardstick.team/v1/opportunities/opp_def456/actions/deep_link",
  { headers: { Authorization: `Bearer ${process.env.YS_API_KEY}` } },
).then((r) => r.json());
```

## Path parameters

- `opportunity_id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Success

- object

## Other responses

- `400`: Invalid request
- `401`: Authentication failure
- `403`: Permission denied (scope or feature flag)
- `404`: Resource not found. The error uses the resource-specific code and param names the exact body field or path parameter that referenced it.
- `409`: Conflict (e.g. idempotency key reuse with different body)
- `429`: Rate limited
- `500`: Internal error

---

[API](https://skmtc.dev/yardstick/apis/yardstick-public-api.md) · [All operations](https://skmtc.dev/yardstick/apis/yardstick-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/yardstick/apis/yardstick-public-api/revisions/35b5a6e88b35?raw)
