Form

Update the details of the specified form

put/forms/{key}

Request

  • Base URL: https://app.cabinpanda.dev/api/v1
  • URL: https://app.cabinpanda.dev/api/v1/forms/{key}
  • Auth: HTTP bearer

Path parameters

keystring required

Request body

publishboolean
namestring
form_template_idinteger
font_idinteger
show_errors'below_the_field' | 'group'
stylestring
custom_jsstring
form_expire_atstring
disable_on_submission_countinteger
language'en' | 'tr' | 'zh-CN' | 'zh-TW' | 'zh-HK'

Example request

{
  "name": "Form Name",
  "detail": [
    {
      "key": "disabled",
      "branding": true,
      "messages": {
        "success_message": "Your submission has been received.",
        "error_message": "Something went wrong!"
      },
      "popup": {
        "popup_trigger_after_seconds": 30
      }
    }
  ],
  "dependent_fields": [
    {
      "condition": "is_equal_to"
    }
  ],
  "dependent_receivers": [
    {
      "condition_id": 1
    }
  ],
  "items": [
    {
      "field_type_id": 1,
      "column": 12,
      "row": 1,
      "step": 1
    }
  ]
}

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.