Archive submissions

Move submissions to the archive, or back to the inbox.

MCP tool jotform_write → archive_submissions

write

Archives the submissions you list, or moves them back to the inbox with unarchive set to true. Archiving keeps the entry indefinitely, unlike deleting, which sends it to Trash for 30 days. Archived entries still count toward your submission storage. It reaches no one and is undone in one call, so it does not ask for confirmation.

Parameters

Parameters: archive_submissions
NameTypeDescription
form_id string required string Form ID from list_forms.
submission_ids array required array Submission IDs from list_submissions.
unarchive boolean boolean true to move the submissions back to the inbox. Default: false.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jotform_write",
    "arguments": {
      "operation": "archive_submissions",
      "arguments": {
        "form_id": "form_8c41d2",
        "submission_ids": "submission ids"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "form_id": "242831904782058",
    "archived": 2,
    "submission_ids": [
      "6012345678901234555",
      "6012345678901234501"
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.