Publish form
Publish a form so respondents can fill it in, with every change made since the last publish.
POST https://cotlet.dev/api/v1/fillout/forms/{form_id}/publish
write Confirm
Publishes the form, which makes every unpublished change visible to respondents. On the first publish, responses_go_to sets where responses are saved: a new Zite database, a table in an existing database, or only the form's Results. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| form_id string required | string | Form ID from list_forms. |
| responses_go_to enum | enum | First publish only: new_database, existing_database or just_this_form. Default: just_this_form. |
Request
curl -X POST https://cotlet.dev/api/v1/fillout/forms/form_8c41d2/publish \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fillout", "publish_form", {"form_id":"form_8c41d2"}) const result = await cotlet.call('fillout', 'publish_form', {"form_id":"form_8c41d2"}); cotlet call fillout publish_form --data '{"form_id":"form_8c41d2"}' Example response
{
"form_id": "fpj3Kd9xQw2L",
"published": true,
"responses_go_to": "just_this_form"
}