CorefinityCorefinityDocs
Open the Control PanelControl Panel
Password protection · 1 of 4

Reveal the preview login

Answers the HTTP login of the environment's platform address, read when you ask and recorded in the site's activity. It needs a person who may reveal the site's credentials; anyone else gets the 404 of a site that does not exist.

POST/api/corestack/sites/{site}/credentials/preview

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.

Fields of the 200 answer
passwordstringRequired
revealed_atstringRequired

Format: date-time.

urlstring or nullRequired

The environment's platform address.

usernamestringRequired

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.
404noneCheck the id. You see only what your account can reach.
429rate_limitedWait for the seconds in Retry-After.
502upstream_unavailableA service the action depends on did not answer. Try again later.

Reasons are listed by name in Errors and refusals.

The same task elsewhere

curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/credentials/preview \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json"
{
  "password": "Example-preview-password-1",
  "revealed_at": "2026-11-10T00:59:43Z",
  "url": "https://harbourandfinch-example-com.northwind.cfstack.example.net",
  "username": "preview"
}
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