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

Parameters: publish_form
NameTypeDescription
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
curl -X POST https://cotlet.dev/api/v1/fillout/forms/form_8c41d2/publish \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fillout", "publish_form", {"form_id":"form_8c41d2"})
Node.js
const result = await cotlet.call('fillout', 'publish_form', {"form_id":"form_8c41d2"});
CLI
cotlet call fillout publish_form --data '{"form_id":"form_8c41d2"}'

Example response

JSON

{
  "form_id": "fpj3Kd9xQw2L",
  "published": true,
  "responses_go_to": "just_this_form"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.