CorefinityCorefinityDocs
Open the Control PanelControl Panel
Create a site · 3 of 3

Reveal a new site's admin login

Answers the admin login a fresh install created, once. Ask for it when the site's create has completed, with no body and Accept: application/json; the answer is never cached.

POST/api/corestack/sites/{site}/provisioning/reveal

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.

Returns

200 The login, shown this once.

Fields of the 200 answer
credentialsobjectRequired
Fields
adminobject or any or nullRequired

The admin login. Null for a platform whose install has no admin.

notestringRequired
revealed_atstringRequired

Format: date-time.

remainingintegerRequired

Always 0: the login is shown once.

revealed_atstringRequired

Format: date-time.

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.
406noneRead the message; it says what happened.
409already_revealedA one-time secret was already shown. Reset it where the tool offers a reset.
409busyAnother operation is running on the site. Wait for it to finish.
409managed_elsewhereThis site is read-only here. Change it in the control panel that manages it.
429rate_limitedWait for the seconds in Retry-After.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/provisioning/reveal \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "credentials": {
    "admin": {
      "password": "Example-admin-2026",
      "url": "https://journal.harbourandfinch.example.com/wp-admin/",
      "username": "shop_admin"
    },
    "note": "Shown once. Store it in your password manager.",
    "revealed_at": "2026-11-19T09:20:00+00:00"
  },
  "remaining": 0,
  "revealed_at": "2026-11-19T09:20:00+00:00"
}
Try it

Try it is off for this endpointIt reveals a secret. Copy the request and run it yourself when you are sure.

Was this helpful?
Open in ClaudeOpen in ChatGPT