Pause or resume a form
Pausing stops a published form taking sign-ups. Its page stays up and shows the closed message from its copy. `POST /forms/{id}/resume` opens it again with the version published last.
Runs any of 2 calls on your workspace.
POST /forms/{id}/pause
Pausing stops a published form taking sign-ups. Its page stays up and shows the closed message from its copy. POST /forms/{id}/resume opens it again with the version published last.
Example
Needs forms:write. No body. Pausing a paused form, or resuming a live one, changes nothing. Resuming checks the published version again, so it can also answer 422 invalid_form or form_sender_refused, and resuming a double opt-in form needs emails:send as well.
curl -X POST "$OE/forms/frm_3b9d2e7a1c4f80d56e2a9b14/pause" -H "$AUTH"{ "object": "form", "id": "frm_3b9d2e7a1c4f80d56e2a9b14", "status": "paused"}A form that was never published cannot be paused or resumed: the answer is 409 form_not_published.
While a form is paused, a post to its subscribe endpoint answers 409 form_closed.