Docs
Execute Public Query
POST /documents/public/{token}/query/{blockId}
POST
/documents/public/{token}/query/{blockId}Runs a QueryBlock in a publicly shared document, like DynamicDocs_ExecuteQuery but for link viewers with no authentication. The link's pre-set variable values fill in variables the viewer did not supply, and values outside the link's allowed values are rejected with 400. This is a read despite being a POST.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | Required | |
| blockId | string | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| variables | object | Optional |
Response
| Field | Type | Description |
|---|---|---|
| rows | object[]| null | |
| groups | QueryGroupResponse[]| null |
QueryGroupResponse
| Field | Type | Description |
|---|---|---|
| key | string| null | |
| rows | object[]| null |