Title here
Summary here
Read-only endpoints for retrieving form definitions from a Confluence page. Use these to discover what forms exist on a page and inspect their field configuration.
Returns all forms defined on the specified page.
Endpoint:
GET /rest/freshforms/1.0/page/{pageId}/formExample:
curl -u username:password \
https://confluence.example.com/rest/freshforms/1.0/page/123/formResponse:
[
{
"formId": "feedbackform",
"pageId": 123,
"macroId": "abc-123-def",
"anonymous": false,
"oneSubmission": false,
"fields": {
"comment": {
"type": "textbox",
"fieldId": "comment",
"label": "Comment",
"macroId": "def-456-ghi",
"required": true,
"validationType": null,
"validations": [],
"condition": null,
"rank": 0
},
"rating": {
"type": "dropdown",
"fieldId": "rating",
"label": "Rating",
"macroId": "ghi-789-jkl",
"required": false,
"validationType": "one-of",
"validations": [
{ "value": "1" },
{ "value": "2" },
{ "value": "3" },
{ "value": "4" },
{ "value": "5" }
],
"condition": null,
"rank": 1
}
},
"conditions": {}
}
]Returns the definition for a single form on a page.
Endpoint:
GET /rest/freshforms/1.0/page/{pageId}/form/{formId}Example:
curl -u username:password \
https://confluence.example.com/rest/freshforms/1.0/page/123/form/feedbackformResponse:
{
"formId": "feedbackform",
"pageId": 123,
"macroId": "abc-123-def",
"anonymous": false,
"oneSubmission": false,
"fields": {
"comment": {
"type": "textbox",
"fieldId": "comment",
"label": "Comment",
"macroId": "def-456-ghi",
"required": true,
"validationType": null,
"validations": [],
"condition": null,
"rank": 0
}
},
"conditions": {}
}| Field | Type | Description |
|---|---|---|
formId | string | Unique form identifier on the page |
pageId | number | Confluence page ID |
macroId | string | Internal Confluence macro ID |
anonymous | boolean | Whether submissions are anonymous |
oneSubmission | boolean | Whether each user is limited to one submission |
fields | object | Map of field ID to field definition |
conditions | object | Map of macro ID to condition definition |
| Field | Type | Description |
|---|---|---|
type | string | Field type (e.g., textfield, textbox, dropdown, radio, checkbox, date, status, file) |
fieldId | string | Unique field identifier |
label | string | Display label shown to users |
macroId | string | Internal Confluence macro ID |
required | boolean | Whether the field is mandatory |
validationType | string | Validation type (one-of, any-of, numeric, alpha, email, date, file, or null) |
validations | array | List of validation values (e.g., allowed dropdown options) |
condition | object | Conditional visibility rule, or null |
rank | number | Display order of the field |