Restore an item to the state it was in when the specified event was created. This can also be used to restore an item that has been deleted.
POST https://api.jsonpad.io/lists/{listId}/items/{itemId}/events/{eventId}/restoreWhen an item is restored, the data, description, readonly and activated fields will be restored to the values they had when the specified event was created. A new version will be created containing the restored state, and the version number will be incremented.
If the item has been deleted, it will be re-created with the same id. Deleted items must be referenced by id (not by alias), and restoring a deleted item counts towards the maximum number of items allowed in a list.
Use the Fetch item events endpoint with restorable=true to find events that an item can be restored from. Restoring an item requires the restore (or restore-with-identity) token permission.
curl https://api.jsonpad.io/lists/55cece36-2361-4892-ab87-dcd2cfdea7a2/items/89d19cc9-05c9-4201-9e19-a3d1e2b3e8a2/events/d69ade46-1e99-4631-858e-27f6b894b853/restore \
-X POST \
-H "Content-Type: application/json" \
-H "x-api-token: <YOUR TOKEN>"listIdstringA list id or path name.itemIdstringAn item id or alias. Deleted items must be referenced by id.eventIdstringThe id of the event to restore the item from.
This must be an item-created, item-updated, item-restored or item-deleted event for this item.
includeDatabooleanhttps://api.jsonpad.io/lists/0e45717f-bdc7-428e-b19e-65e8d529e495/items/9f2a5983-f3c5-4296-88be-921aa9d62e72/events/5bc341fd-1f9f-46b0-a0e0-78e963e22e7f/restore?includeData=trueWhether to include the item data in the response or not. Can be true or false.
Defaults to true.
x-api-tokenstringYour API token.x-identity-tokenstringAn identity token.x-identity-groupstringAn identity group.No request body
{id: "a86e15b7-af25-4b0f-bab4-6e62bb8a6ea0"createdAt: "2026-09-11T16:55:37.415Z"updatedAt: "2026-09-11T16:55:37.415Z"data: {test: 123}version: "3"readonly: falseactivated: truedescription: "This is a sample item"size: 12}etagaf2bdbe1aa9b6ec1e2ade1d694f41fc71a831d0268e9891562113d8a62add1bfA SHA-256 hash of the item.last-modified2026-09-11T16:55:37.415ZThe date this item was last modified.