Sign in

Update form

documented

Update an existing form.

PUT /gf/v2/forms/{FORM_ID}Formsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$site}}/wp-json/gf/v2/forms/{{$FORM_ID}}" \
  -X PUT \
  -u "{{GRAVITYFORMS_API_KEY}}:{{GRAVITYFORMS_API_SECRET}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "is_active": {{$is_active}}, "fields": [{"id": 1, "type": "text", "label": "{{$field1_label}}", "isRequired": {{$field1_required}}}]}' 
Update form · gravityforms · OpenIntegrations