Docs
Get Public Document
GET /documents/public/{token}
GET
/documents/public/{token}Returns the document behind a public link token: name, description, content, variable definitions, and the link's pre-set variable values and allowed values. Needs no authentication; the token comes from DynamicDocs_CreateLink or DynamicDocs_GetDocument. Inactive or expired links return 404.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | Required |
Response
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| description | string| null | |
| content | string| null | |
| variables | GetPublicDocumentResponseVariableInfo[]| null | |
| variableValues | string| null | |
| allowedValues | string| null | |
| assets | object| null | |
| resolvedTokens | object| null |
GetPublicDocumentResponseVariableInfo
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| name | string| null | |
| variableType | string| null | |
| isMultiSelect | boolean | |
| isRequired | boolean | |
| defaultValues | string| null | |
| options | GetPublicDocumentResponseVariableOption[]| null |
GetPublicDocumentResponseVariableOption
| Field | Type | Description |
|---|---|---|
| value | string| null | |
| label | string| null |