---
title: "Re-generate Bedrock form URLs for all shareholders of a project by company ID"
method: GET
path: "/bedrock/form-urls/by-id/{companyId}"
tags: ["Bedrock"]
---

# Re-generate Bedrock form URLs for all shareholders of a project by company ID

`GET /bedrock/form-urls/by-id/{companyId}`

## Request

- Base URL: `https://docs.gvrn.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.gvrn.ai/bedrock/form-urls/by-id/{companyId}`
- Auth: API key in header `x-bedrock-api-key`

## Path parameters

- `companyId` string, required

## Response `200`

Form URLs generated successfully

- BedrockFormUrlsApiResponseDto
  - `shareholders` BedrockShareholderFormUrlApiResponseItemDto[], required: Re-generated form URLs for each shareholder, except one matched to a person or company GVRN already holds or no longer this project's alone, whose link only ever reaches them by email
    - `type` 'PERSON' | 'COMPANY', required
    - `shareholderId` string, required: ID of the shareholder (person or company record)
    - `formUrl` string, required: Re-generated Bedrock form URL for this shareholder

## Other responses

- `400`: bedrockFormUrl not configured, or incorporation status disallows regeneration
- `404`: Project not found or does not belong to this API key

---

[API](https://skmtc.dev/gvrn/apis/bedrock.md) · [All operations](https://skmtc.dev/gvrn/apis/bedrock/llms.txt) · [OpenAPI document](https://skmtc.dev/gvrn/apis/bedrock/revisions/76408b6383d7?raw)
