Create form
documentedCreate a new form.
POST /formsFormsno implementation yet0 runsNo 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_domain}}/gravityformsapi/forms?api_key={{GRAVITYFORMS_API_KEY}}&signature={{signature}}&expires={{expires}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '[{"title": "{{$title}}", "description": "{{$description}}", "labelPlacement": "top_label", "button": {"type": "{{$button_type}}", "text": "{{$button_text}}"}, "fields": [ {"id": "1", "label": "{{$field_label}}", "type": "{{$field_type}}"} ], "confirmations": [ {"id": 0, "name": "Default Confirmation", "type": "message", "message": "Thanks for contacting us! We will get in touch with you shortly.", "isDefault": true } ] }]"