API Reference / Steam accounts
Reveal saved Steam account credentials
Return an active account's saved password, shared secret and optional identity secret and account-tier API key within the calling workspace. Requires the same manage permission as updating the account. This explicit no-store operation does not log in, refresh a session, contact Steam or return web cookies or refresh tokens. General account reads and events never contain these plaintext values.
/ steam. v1. Steam/ RevealAccountCredentialsRequest body
application/jsonRequired
Request to reveal the saved credentials of one active Steam account in the caller's workspace. Requires the same manage permission as updating the account.
accountName?stringExact account name in the calling workspace.
Response body
application/json
Success
accountName?stringAccount whose saved credentials were revealed.
apiKey?stringSaved account-tier Steam Web API key. Absent when none is stored. Never replaced with a workspace or platform key.
identitySecret?stringSaved authenticator identity secret. Absent when none is stored.
password?stringSaved account password for authorized reveal and copy.
sharedSecret?stringSaved authenticator shared secret, preserving its exact stored text.
application/json
The request was malformed, such as a missing required field or an unparseable cursor.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The request lacks a valid API key in the Authorization header.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The API key is not allowed to perform this action on this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
The requested resource does not exist in this workspace.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
application/json
An internal server error occurred.
codestringThe Connect error code, such as "not_found".
details?array<object>Optional machine-readable error details.
messagestringA human-readable description of the error.
curl -X POST "https://api.goldmine.to/steam.v1.Steam/RevealAccountCredentials" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountName": "flip_eu_02"
}'const res = await fetch("https://api.goldmine.to/steam.v1.Steam/RevealAccountCredentials", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountName": "flip_eu_02"
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountName": "flip_eu_02"
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/steam.v1.Steam/RevealAccountCredentials", body)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("CSTRADER_API_KEY"))
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)import os, requests
res = requests.post(
"https://api.goldmine.to/steam.v1.Steam/RevealAccountCredentials",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountName": "flip_eu_02"
},
)
data = res.json(){
"accountName": "flip_eu_02",
"apiKey": "example",
"identitySecret": "<secret>",
"password": "<secret>",
"sharedSecret": "<secret>"
}{
"code": "invalid_argument",
"message": "The request was malformed, such as a missing required field or an unparseable cursor."
}{
"code": "unauthenticated",
"message": "The request lacks a valid API key in the Authorization header."
}{
"code": "permission_denied",
"message": "The API key is not allowed to perform this action on this workspace."
}{
"code": "not_found",
"message": "The requested resource does not exist in this workspace."
}{
"code": "internal",
"message": "An internal server error occurred."
}