SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

Restore the site files to a snapshot (the current state is snapshotted first)

Use it to undo a change. 404 when the snapshot does not belong to this website.

POSThttps://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/snapshots/{snapshot_id}/restore

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

idstringrequired
snapshot_idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Idempotency-Keystring

Optional idempotency key for safe retries.

Response

Response Body

restoredintegerFiles restored.
content_versionstring | nullVersion after the restore.

Request

curl --request POST \
--url https://app.softsolz.uk/api/v1/services/site-builder/projects/{id}/snapshots/{snapshot_id}/restore \
--header 'Authorization: Bearer sk_live_your_key'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": {
"restored": 9,
"content_version": "2026-09-17T09:40:00.000Z"
}
}