---
title: "Create Or Rotate Access Link"
method: POST
path: "/api/vdr-sharing/groups/{group_id}/access-link"
tags: ["VDR Sharing"]
---

# Create Or Rotate Access Link

`POST /api/vdr-sharing/groups/{group_id}/access-link`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/vdr-sharing/groups/{group_id}/access-link`
- Auth: HTTP bearer

## Path parameters

- `group_id` string, required

## Request body

- VDRAccessLinkCreate
  - `expires_in_days` integer, nullable

## Response `200`

Successful Response

- VDRAccessLinkResponse
  - `id` string, required
  - `business_id` string, required
  - `group_id` string, required
  - `token` string, required
  - `url` string, required
  - `is_active` boolean, required
  - `expires_at` string, nullable, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

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