# /forms/{formId}/submitactions

Retrieve all submit actions configured for a specific form

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Formstack API v2025.0",
    "version": "0.0.4"
  },
  "servers": [
    {
      "url": "https://www.formstack.com/api/v2025",
      "description": "Production server"
    },
    {
      "url": "https://staging-formstack.com/api/v2025",
      "description": "Staging server"
    },
    {
      "url": "https://dev-formstack.com/api/v2025",
      "description": "Development server"
    }
  ],
  "paths": {
    "/forms/{formId}/submitactions": {
      "get": {
        "tags": [
          "Submit Actions"
        ],
        "description": "Retrieve all submit actions configured for a specific form",
        "operationId": "listSubmitActions",
        "parameters": [
          {
            "name": "formId",
            "in": "path",
            "description": "Unique identifier of the form to list submit actions for",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Submit actions retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitActionsListingApiDto"
                }
              }
            }
          },
          "403": {
            "description": "Access denied - insufficient permissions"
          },
          "404": {
            "description": "Form not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LogicDto": {
        "title": "Logic Conditions",
        "description": "Logic conditions for conditional processing",
        "properties": {
          "action": {
            "description": "Action to perform (show/hide)",
            "type": "string",
            "enum": [
              "show",
              "hide"
            ],
            "nullable": false
          },
          "conditional": {
            "description": "Conditional operator (all/any)",
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "nullable": false
          },
          "checks": {
            "description": "Array of condition checks",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogicFieldCheckDto"
            },
            "nullable": false
          }
        },
        "type": "object"
      },
      "LogicFieldCheckDto": {
        "title": "Logic Check Condition",
        "description": "Single condition check for logic operations",
        "properties": {
          "field": {
            "description": "Field ID to check",
            "type": "string",
            "nullable": false
          },
          "condition": {
            "description": "Condition operator",
            "type": "string",
            "enum": [
              "equals",
              "notequals",
              "greaterthan",
              "lessthan"
            ],
            "nullable": false
          },
          "option": {
            "description": "Value to compare against",
            "type": "string",
            "nullable": false
          }
        },
        "type": "object"
      },
      "SubmitActionPreviewApiDto": {
        "title": "Submit Action Preview",
        "description": "Summary information for a submit action, used in listings and previews",
        "properties": {
          "id": {
            "description": "Unique identifier for the submit action",
            "type": "integer",
            "nullable": false
          },
          "name": {
            "description": "Display name for the submit action",
            "type": "string",
            "nullable": true
          },
          "type": {
            "description": "Type of action to perform after form submission: 'default' for standard processing, 'message' to display custom content, or 'redirect' to navigate to a URL",
            "type": "string",
            "enum": [
              "default",
              "message",
              "redirect"
            ],
            "nullable": false
          },
          "message": {
            "description": "HTML content to display to users when type is 'message'",
            "type": "string",
            "nullable": true
          },
          "url": {
            "description": "Target URL to redirect users to when type is 'redirect'",
            "type": "string",
            "format": "uri",
            "nullable": true
          },
          "append_data": {
            "description": "Whether to append form submission data as query parameters to the redirect URL",
            "type": "boolean",
            "nullable": true
          },
          "logic": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/LogicDto"
              }
            ],
            "nullable": true,
            "description": "Conditional logic rules that determine when this submit action should be executed based on form field values"
          }
        },
        "type": "object"
      },
      "SubmitActionsListingApiDto": {
        "title": "Submit Actions Listing",
        "description": "Collection of submit actions configured for a form",
        "properties": {
          "submitactions": {
            "description": "Array of submit actions configured for the form",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubmitActionPreviewApiDto"
            },
            "nullable": false
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Submit Actions",
      "description": "Submit actions define what happens after a form is submitted—standard processing, displaying a custom message, redirecting to a URL, or running a third-party integration such as WebMerge. Use these endpoints to list a form's submit actions and to create, retrieve, update, and delete them, including the conditional logic that controls when each action runs."
    }
  ]
}
```