CorefinityCorefinityDocs
Open the Control PanelControl Panel
Error pages · 10 of 12

Get one error page revision

Answers one revision with its whole configuration and, for each page, its HTML before and after the revision and a unified diff.

GET/api/corestack/sites/{site}/error-pages/revisions/{revision}

Path parameters

siteintegerRequired

The id of a site row. A website's production site and each of its environments has its own id. Digits only. At least 1.

revisionintegerRequired

The id of a revision of this site, from the list's id. At least 1.

Returns

200 The revision and what it changed.

Fields of the 200 answer
configobjectRequired

A site's error pages configuration.

Fields
codesobjectRequired

For each status code, whether a visitor gets an error page (page) or the application's own answer (app).

Fields
404stringRequired
pageapp
500stringRequired
pageapp
502stringRequired
pageapp
503stringRequired
pageapp
504stringRequired
pageapp
pagesobjectRequired

The maintenance page and the page of each code.

Fields
404objectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

500objectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

502objectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

503objectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

504objectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

maintenanceobjectRequired
Fields
messagestring or null

One line of plain text the page shows through the {{message}} tag, at most 300 characters. Null shows the default message.

sourcestring or null

Your own HTML for the page, at most 64 KiB (65,536 bytes), and all pages at most 256 KiB together. Null shows the platform's page.

support_emailstring or nullRequired

Shown where a page uses the {{support_email}} tag. Up to 254 characters.

pagesobjectRequired

For each page, its HTML before and after this revision.

revisionobjectRequired
Fields
authorstring or nullRequired

The person's name, or Corefinity.

created_atstring or nullRequired

Format: date-time.

idintegerRequired

At least 1.

livebooleanRequired

Whether the site serves this revision now.

notestring or nullRequired
numberintegerRequired
originstringRequired

How the revision came about.

saverevertresetcopybirthclonemoverestore
source_revision_idinteger or nullRequired

For a revert, the revision that was put back.

statusstringRequired
pendingapplyingappliedapplied_unverifiedrejectedunknown
summarystringRequired

What changed, in a few words.

If it is refused

StatusReasonWhat to do
401noneSend a valid token as Authorization: Bearer <token>.
403company_unavailableYour company is unavailable.
403scope_requiredUse a token with the scope named in scope.
403two_factor_requiredTurn on two-factor on your account, then send again.
404feature_offThis feature is not on for your organisation yet.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl https://manage.corefinity.com/api/corestack/sites/1042/error-pages/revisions/1 \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "config": {
    "codes": {
      "404": "app",
      "500": "page",
      "502": "page",
      "503": "page",
      "504": "page"
    },
    "pages": {
      "404": {
        "message": null,
        "source": null
      },
      "500": {
        "message": null,
        "source": null
      },
      "502": {
        "message": null,
        "source": null
      },
      "503": {
        "message": null,
        "source": "<!DOCTYPE html><html><head><meta name=\"viewport\" content=\"width=device-width\"><title>Back soon</title></head><body><h1>Back soon</h1><p>{{message}}</p></body></html>"
      },
      "504": {
        "message": null,
        "source": null
      },
      "maintenance": {
        "message": null,
        "source": null
      }
    },
    "support_email": null
  },
  "pages": {
    "404": {
      "after": null,
      "before": null,
      "changed": false,
      "diff": null
    },
    "500": {
      "after": null,
      "before": null,
      "changed": false,
      "diff": null
    },
    "502": {
      "after": null,
      "before": null,
      "changed": false,
      "diff": null
    },
    "503": {
      "after": "<!DOCTYPE html><html><head><meta name=\"viewport\" content=\"width=device-width\"><title>Back soon</title></head><body><h1>Back soon</h1><p>{{message}}</p></body></html>",
      "before": null,
      "changed": true,
      "diff": "--- revision 1\n+++ revision 2\n@@ -0,0 +1,1 @@\n+<!DOCTYPE html><html><head><meta name=\"viewport\" content=\"width=device-width\"><title>Back soon</title></head><body><h1>Back soon</h1><p>{{message}}</p></body></html>\n"
    },
    "504": {
      "after": null,
      "before": null,
      "changed": false,
      "diff": null
    },
    "maintenance": {
      "after": null,
      "before": null,
      "changed": false,
      "diff": null
    }
  },
  "revision": {
    "author": "Eleanor Finch",
    "created_at": "2026-11-02T15:41:09Z",
    "id": 312,
    "live": true,
    "note": "Our own 503 page",
    "number": 2,
    "origin": "save",
    "source_revision_id": null,
    "status": "applied",
    "summary": "503 → platform page; 503 page edited"
  }
}
Try it
Held in this tab's memory only. Never stored or sent to us.

Use a token with only the read scope. How to make one

Was this helpful?
Open in ClaudeOpen in ChatGPT