Forms

Events that fire during the form response lifecycle.

Events that fire during the form response lifecycle.

Events

EventWhen it fires
form_response.createdA multi-step form response session is created.
form_response.updatedAn in-progress form response is updated.
form_response.submittedA form response is submitted (completed).

Examples

Each example is the full POST body Whippy sends, including the envelope fields data, api_version, event, created_at, and request_id.

form_response.created

A multi-step form response session is created.

{
  "data": {
    "campaign_contact_id": null,
    "completed": false,
    "contact_id": null,
    "created_at": "2025-05-15T13:47:22.232384Z",
    "ending_id": null,
    "form_fields": [
      {
        "id": "question1",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "type": "input",
        "value": "John Doe"
      },
      {
        "id": "question2",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "type": "radio-buttons",
        "value": "Satisfied"
      },
      {
        "id": "question3",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "type": "text-area",
        "value": "Your customer service team was very helpful with my recent inquiry."
      }
    ],
    "form_id": "550e8400-e29b-41d4-a716-446655440000",
    "form_questions": [
      {
        "id": "question1",
        "type": "input",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "resolved_description": null,
        "required": true,
        "properties": {}
      },
      {
        "id": "question2",
        "type": "radio-buttons",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "description": "Rate your visit to {{params.office || \"our office\"}}",
        "resolved_description": "Rate your visit to our office",
        "required": true,
        "properties": {
          "options": [
            {
              "id": "option1",
              "value": "Satisfied"
            },
            {
              "id": "option2",
              "value": "Neutral"
            },
            {
              "id": "option3",
              "value": "Unsatisfied"
            }
          ]
        }
      },
      {
        "id": "question3",
        "type": "text-area",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      },
      {
        "id": "question4",
        "type": "input",
        "label": "Which of our offices did you visit?",
        "resolved_label": "Which of our offices did you visit?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      }
    ],
    "quiz_questions": [
      {
        "id": "question2",
        "selected_answer": "Satisfied",
        "correct_answer": [
          "Satisfied"
        ],
        "points_earned": 1,
        "points_available": 1,
        "is_correct": true
      }
    ],
    "quiz_score": 1,
    "quiz_max_score": 1,
    "form_version_id": "660e8400-e29b-41d4-a716-446655440001",
    "id": "489da01d-a960-4ace-938a-5195ab225ba3",
    "last_activity_at": "2025-05-15T13:47:22.231358Z",
    "logic_variables": {},
    "message_id": null,
    "resolved_path": [
      "heading1",
      "question1",
      "question2",
      "question3"
    ],
    "sequence_id": null,
    "status": "in_progress",
    "step_contact_id": null,
    "submitted_at": "2025-05-15T13:47:22.231358Z"
  },
  "api_version": "v1",
  "event": "form_response.created",
  "created_at": "2025-08-19T06:40:57.416929Z",
  "request_id": "07af2034-11c8-5a9b-94b6-5f8aff40177f"
}

form_response.updated

An in-progress form response is updated.

{
  "data": {
    "campaign_contact_id": null,
    "completed": false,
    "contact_id": null,
    "created_at": "2025-05-15T13:47:22.232384Z",
    "ending_id": null,
    "form_fields": [
      {
        "id": "question1",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "type": "input",
        "value": "John Doe"
      },
      {
        "id": "question2",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "type": "radio-buttons",
        "value": "Satisfied"
      },
      {
        "id": "question3",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "type": "text-area",
        "value": "Your customer service team was very helpful with my recent inquiry."
      }
    ],
    "form_id": "550e8400-e29b-41d4-a716-446655440000",
    "form_questions": [
      {
        "id": "question1",
        "type": "input",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "resolved_description": null,
        "required": true,
        "properties": {}
      },
      {
        "id": "question2",
        "type": "radio-buttons",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "description": "Rate your visit to {{params.office || \"our office\"}}",
        "resolved_description": "Rate your visit to our office",
        "required": true,
        "properties": {
          "options": [
            {
              "id": "option1",
              "value": "Satisfied"
            },
            {
              "id": "option2",
              "value": "Neutral"
            },
            {
              "id": "option3",
              "value": "Unsatisfied"
            }
          ]
        }
      },
      {
        "id": "question3",
        "type": "text-area",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      },
      {
        "id": "question4",
        "type": "input",
        "label": "Which of our offices did you visit?",
        "resolved_label": "Which of our offices did you visit?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      }
    ],
    "quiz_questions": [
      {
        "id": "question2",
        "selected_answer": "Satisfied",
        "correct_answer": [
          "Satisfied"
        ],
        "points_earned": 1,
        "points_available": 1,
        "is_correct": true
      }
    ],
    "quiz_score": 1,
    "quiz_max_score": 1,
    "form_version_id": "660e8400-e29b-41d4-a716-446655440001",
    "id": "489da01d-a960-4ace-938a-5195ab225ba3",
    "last_activity_at": "2025-05-15T13:47:22.231358Z",
    "logic_variables": {},
    "message_id": null,
    "resolved_path": [
      "heading1",
      "question1",
      "question2",
      "question3"
    ],
    "sequence_id": null,
    "status": "in_progress",
    "step_contact_id": null,
    "submitted_at": "2025-05-15T13:47:22.231358Z"
  },
  "api_version": "v1",
  "event": "form_response.updated",
  "created_at": "2025-08-19T06:40:57.416929Z",
  "request_id": "962fba64-c1b6-50b5-87a2-94bcabea3dbb"
}

form_response.submitted

A form response is submitted (completed).

{
  "data": {
    "campaign_contact_id": null,
    "completed": true,
    "contact_id": null,
    "created_at": "2025-05-15T13:47:22.232384Z",
    "ending_id": null,
    "form_fields": [
      {
        "id": "question1",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "type": "input",
        "value": "John Doe"
      },
      {
        "id": "question2",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "type": "radio-buttons",
        "value": "Satisfied"
      },
      {
        "id": "question3",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "type": "text-area",
        "value": "Your customer service team was very helpful with my recent inquiry."
      }
    ],
    "form_id": "550e8400-e29b-41d4-a716-446655440000",
    "form_questions": [
      {
        "id": "question1",
        "type": "input",
        "label": "What is your full name?",
        "resolved_label": "What is your full name?",
        "resolved_description": null,
        "required": true,
        "properties": {}
      },
      {
        "id": "question2",
        "type": "radio-buttons",
        "label": "How satisfied were you?",
        "resolved_label": "How satisfied were you?",
        "description": "Rate your visit to {{params.office || \"our office\"}}",
        "resolved_description": "Rate your visit to our office",
        "required": true,
        "properties": {
          "options": [
            {
              "id": "option1",
              "value": "Satisfied"
            },
            {
              "id": "option2",
              "value": "Neutral"
            },
            {
              "id": "option3",
              "value": "Unsatisfied"
            }
          ]
        }
      },
      {
        "id": "question3",
        "type": "text-area",
        "label": "Thanks {{answers.question1}}, anything else you would like to share?",
        "resolved_label": "Thanks John Doe, anything else you would like to share?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      },
      {
        "id": "question4",
        "type": "input",
        "label": "Which of our offices did you visit?",
        "resolved_label": "Which of our offices did you visit?",
        "resolved_description": null,
        "required": false,
        "properties": {}
      }
    ],
    "quiz_questions": [
      {
        "id": "question2",
        "selected_answer": "Satisfied",
        "correct_answer": [
          "Satisfied"
        ],
        "points_earned": 1,
        "points_available": 1,
        "is_correct": true
      }
    ],
    "quiz_score": 1,
    "quiz_max_score": 1,
    "form_version_id": "660e8400-e29b-41d4-a716-446655440001",
    "id": "489da01d-a960-4ace-938a-5195ab225ba3",
    "last_activity_at": "2025-05-15T13:47:22.231358Z",
    "logic_variables": {},
    "message_id": null,
    "resolved_path": [
      "heading1",
      "question1",
      "question2",
      "question3"
    ],
    "sequence_id": null,
    "status": "completed",
    "step_contact_id": null,
    "submitted_at": "2025-05-15T13:47:22.231358Z"
  },
  "api_version": "v1",
  "event": "form_response.submitted",
  "created_at": "2025-08-19T06:40:57.416929Z",
  "request_id": "c6d464fe-bb6d-5644-9aec-6b6fb9b846a9"
}

Did this page help you?