# Make an auditor's share link for an evidence report

> Page: https://docs.plotwork.dev/api/post-orgs-org-evidence-shares. Index of every page: https://docs.plotwork.dev/llms.txt

A read-only link to one evidence report (a framework and a period) that stops working after 7, 30 or 90 days or when revoked, with a password or a list of addresses if asked.

`POST /orgs/{org}/evidence/shares`

## TL;DR

| Question | Answer |
|---|---|
| What does it do? | Make an auditor's share link for an evidence report. |
| What does it take? | A JSON body of type [`EvidenceShareBody`](https://docs.plotwork.dev/api/schemas.md#evidencesharebody). |
| What does it return? | Status 201 with a body of type [`EvidenceShareCreated`](https://docs.plotwork.dev/api/schemas.md#evidencesharecreated). |
| What can go wrong? | `400` the body or the period is not valid (evidence.range_invalid); `401` not signed in; `403` a member or a reader (orgs.forbidden), a plan without compliance evidence (plan.compliance_evidence_not_included), or an origin that may not make changes; `404` no such organisation, or the caller is not a member of it; `409` the organisation shares only Public diagrams (evidence.share_classified), or has 25 live links (evidence.share_limit_reached); `429` too many requests; `503` organisations are not set up on this server. Every failure uses the one error envelope. |

## What it does

A read-only link to one evidence report (a framework and a period) that stops working after 7, 30 or 90 days or when revoked, with a password or a list of addresses if asked. Only the hash of its token is stored. Every view is audited. The owner and admins, on Enterprise.

## Path parameters

| Field | Type | Required | Description |
|---|---|---|---|
| `org` | `string` | yes | The organisation's id or its slug. |

## Request body

The body has the type [`EvidenceShareBody`](https://docs.plotwork.dev/api/schemas.md#evidencesharebody).

| Field | Type | Required | Description |
|---|---|---|---|
| `framework` | `"pci-dss" \| "soc2" \| "iso27001" \| "nist-800-53" \| "all"` | yes | One framework, or all. |
| `from` | `string` | yes | The first day, YYYY-MM-DD, UTC. |
| `to` | `string` | yes | The last day, YYYY-MM-DD, UTC. |
| `paper` | `"a4" \| "letter"` | no | The report's paper. default "a4". |
| `label` | `string \| null` | no | A name for the link in the list, such as "FY26 SOC 2 audit". Shown to the viewer. at least 1 character; at most 80 characters; default null. |
| `days` | `7 \| 30 \| 90` | yes | Days until the link stops working: 7, 30 or 90. |
| `password` | `string \| null` | no | A password the viewer types, at least 10 characters. Only a salted hash is kept. at least 10 characters; at most 200 characters; default null. |
| `emails` | `array \| null` | no | The addresses that may open it, signed in to Plotwork with an emailed code. Not with a password. default null. |

## Responses

| Status | Meaning | Body |
|---|---|---|
| 201 | The link, with its address, shown once. | [`EvidenceShareCreated`](https://docs.plotwork.dev/api/schemas.md#evidencesharecreated) |
| 400 | The body or the period is not valid (evidence.range_invalid). | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 401 | Not signed in. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 403 | A member or a reader (orgs.forbidden), a plan without compliance evidence (plan.compliance_evidence_not_included), or an origin that may not make changes. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 404 | No such organisation, or the caller is not a member of it. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 409 | The organisation shares only Public diagrams (evidence.share_classified), or has 25 live links (evidence.share_limit_reached). | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 429 | Too many requests. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |
| 503 | Organisations are not set up on this server. | [`ErrorResponse`](https://docs.plotwork.dev/api/schemas.md#errorresponse) |

## Response body

A 201 answer has the type [`EvidenceShareCreated`](https://docs.plotwork.dev/api/schemas.md#evidencesharecreated).

| Field | Type | Required | Description |
|---|---|---|---|
| `id` | `string` | yes |  |
| `framework` | `"pci-dss" \| "soc2" \| "iso27001" \| "nist-800-53" \| "all"` | yes |  |
| `from` | `string` | yes |  |
| `to` | `string` | yes |  |
| `paper` | `"a4" \| "letter"` | yes |  |
| `label` | `string \| null` | yes |  |
| `protection` | `"none" \| "password" \| "emails"` | yes |  |
| `emails` | `string[]` | yes |  |
| `createdBy` | `string \| null` | yes |  |
| `createdAt` | `integer` | yes |  |
| `expiresAt` | `integer` | yes |  |
| `revokedAt` | `integer \| null` | yes |  |
| `views` | `integer` | yes | minimum 0. |
| `lastViewedAt` | `integer \| null` | yes |  |
| `state` | `"live" \| "expired" \| "revoked"` | yes |  |
| `url` | `string` | yes | The link. Its address is the secret: only its hash is stored, so it is in this answer and nowhere else. |

## See also

| Doc | Why |
|---|---|
| [API reference](https://docs.plotwork.dev/api/reference.md) | Every endpoint, and the error envelope |
| [Schemas](https://docs.plotwork.dev/api/schemas.md) | Every request and response type |
| [Tool reference](https://docs.plotwork.dev/mcp/tools.md) | The operations as callable tools |
