diff --git a/openapi.yaml b/openapi.yaml
index ddbc2a9..44d8d5e 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -20460,6 +20460,9 @@ components:
emails_enabled:
type: boolean
description: Whether any Send Emails email is switched on
+ allow_finish_later:
+ type: boolean
+ description: Whether people filling in the Signup Page can save it part-way through and finish it later from a resume link (the "Allow people to save this form and finish it later" setting)
created_by:
type: object
nullable: true
@@ -20618,6 +20621,10 @@ components:
type: string
thank_you_message:
type: string
+ allow_finish_later:
+ type: boolean
+ default: false
+ description: Let people filling in the Signup Page save it part-way through and finish it later from a resume link. Unfinished forms are deleted 30 days after they were last saved.
individuals:
type: array
description: Fixed only. Individual B, C, ... in order
diff --git a/server.js b/server.js
index 822760b..e344193 100644
--- a/server.js
+++ b/server.js
@@ -1446,7 +1446,7 @@ function buildDocsPage() {
], [
{ code: "200", cls: "response-2xx", desc: "Paginated list of Signup Pages, ordered by name" },
{ code: "401", cls: "response-4xx", desc: "Not authenticated" }
- ], "What the Manage Sign-up Pages table shows for each Signup Page: type (fixed or flexible), status and active, public_link (the customised link when there is one), emails_enabled, who created and last updated it and when, and individuals: each individual or audience with its Contact Form, Project, project status, Surveys and any Wave, and send_emails. Deactivated Signup Pages are included.")}
+ ], "What the Manage Sign-up Pages table shows for each Signup Page: type (fixed or flexible), status and active, public_link (the customised link when there is one), emails_enabled, allow_finish_later (whether people can save it part-way through and finish it later), who created and last updated it and when, and individuals: each individual or audience with its Contact Form, Project, project status, Surveys and any Wave, and send_emails. Deactivated Signup Pages are included.")}
${endpointCard("POST", "/referral_link_details", "Make a Signup Page", true, [
{ name: "charity_id", in: "body", type: "integer", required: true, desc: "The Organisation. You must be an Organisation Editor of it" },
{ name: "name", in: "body", type: "string", required: true, desc: "The Signup Page's name" },
@@ -1456,6 +1456,7 @@ function buildDocsPage() {
{ name: "beneficiary_state_id", in: "body", type: "integer", required: false, desc: "The project status people are added with" },
{ name: "contact_form_id", in: "body", type: "integer", required: false, desc: "Individual A's Contact Form" },
{ name: "surveys", in: "body", type: "object[]", required: false, desc: "{id, wave_id}: Surveys the Project collects, each with an optional Wave" },
+ { name: "allow_finish_later", in: "body", type: "boolean", required: false, desc: "Default false. Let people save the Signup Page part-way through and finish it later from a resume link (Allow people to save this form and finish it later). Unfinished forms are deleted 30 days after they were last saved" },
{ name: "individuals", in: "body", type: "object[]", required: false, desc: "Fixed: Individual B, C, ... each with relationship_category_id, relationship (its parent or child title, e.g. Child), project_id, beneficiary_state_id, contact_form_id and surveys" },
{ name: "audiences", in: "body", type: "object[]", required: false, desc: "Flexible: one per audience with beneficiary_role_id, project_id, beneficiary_state_id, contact_form_id and surveys" }
], [