Reveal an operation's one-time login
Answers the one-time login a copy or a new environment created, once, to whoever asks first. Every answer is sent with Cache-Control: no-store, and the reveal is recorded with who made it and when.
POST/ api/ corestack/ operations/ {operation}/ reveal
Path parameters
operationintegerRequired
The id of an operation. Digits only. At least 1.
Returns
200 The login.
Fields of the 200 answer
credentialsobjectRequired
Fields
adminobjectRequired
Fields
passwordstringRequired
urlstringRequired
usernamestringRequired
notestringRequired
revealed_atstringRequired
When the login was shown, in UTC, written with +00:00. Format: date-time.
remainingintegerRequired
How many more times the login can be shown. Always 0.
revealed_atstring or nullRequired
Format: date-time.
If it is refused
| Status | Reason | What to do |
|---|---|---|
401 | none | Send a valid token as Authorization: Bearer <token>. |
403 | company_unavailable | Your company is unavailable. |
403 | scope_required | Use a token with the scope named in scope. |
403 | two_factor_required | Turn on two-factor on your account, then send again. |
404 | none | Check the id. You see only what your account can reach. |
406 | none | Read the message; it says what happened. |
409 | already_revealed | A one-time secret was already shown. Reset it where the tool offers a reset. |
409 | busy | Another operation is running on the site. Wait for it to finish. |
429 | rate_limited | Wait 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/operations/5120/reveal \
-H "Authorization: Bearer $COREFINITY_TOKEN" \
-H "Accept: application/json"use Illuminate\Support\Facades\Http;
$response = Http::withToken(env('COREFINITY_TOKEN'))
->acceptJson()
->post('https://manage.corefinity.com/api/corestack/operations/5120/reveal');
$data = $response->json();const res = await fetch('https://manage.corefinity.com/api/corestack/operations/5120/reveal', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.COREFINITY_TOKEN}`,
Accept: 'application/json',
},
});
// An answer with no body (204) has nothing to parse.
const text = await res.text();
const data = text && JSON.parse(text);import os
import requests
res = requests.post(
"https://manage.corefinity.com/api/corestack/operations/5120/reveal",
headers={
"Authorization": f"Bearer {os.environ['COREFINITY_TOKEN']}",
"Accept": "application/json",
},
)
data = res.json() if res.content else None{
"credentials": {
"admin": {
"password": "Example-admin-2026",
"url": "https://staging.harbourandfinch.example.com/wp-admin/",
"username": "admin"
},
"note": "Shown once. Store it in your password manager.",
"revealed_at": "2026-11-03T09:20:00+00:00"
},
"remaining": 0,
"revealed_at": "2026-11-03T09:20:00+00:00"
}{
"message": "Unauthenticated."
}{
"code": "company_unavailable",
"message": "Your company is unavailable.",
"reason": "company_unavailable"
}{
"message": "Not found."
}{
"message": "string"
}{
"code": "already_revealed",
"details": {
"reset_target": {
"url": "https://staging.harbourandfinch.example.com/wp-admin/",
"username": "admin"
},
"reset_tool": "corestack_admin_login_reset",
"revealed": {
"at": "2026-11-03T09:20:00+00:00",
"by_name": "Eleanor Finch",
"label": null,
"via": "panel"
}
},
"message": "These credentials were already shown. Reset them from the site page",
"reason": "already_revealed"
}{
"code": "rate_limited",
"message": "Too many requests. Try again in 60 seconds.",
"reason": "rate_limited",
"retry_after_seconds": 60
}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?