# getByUrl

**Kind:** API Endpoint

**Source:** [`atloria-monorepo/apps/api/src/document/public-document.controller.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/document/public-document.controller.ts#L64)

Get public document by URL (general audience)

## Endpoint

`GET /public/doc/:slugWithId`

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `slugWithId` | path | `string` | ✓ | Document slug with URL ID (format: {slug}-{urlId}) |

## Referenced By

- `PublicDocumentController` (MODULE_DECLARES)
