API Reference / Steam accounts
Export many Steam accounts' authenticator files as one zip
Return up to 500 active accounts' saved authenticators as one zip of unencrypted Steam desktop authenticator files (.maFile), one per account in the same format as ExportAccountAuthenticatorFile, within the calling workspace. Requires the same manage permission as revealing the accounts' credentials, and every account exported is recorded for the audit log like a reveal. The export is all or nothing: if any named account is not an active account of the workspace, or has no saved shared secret, nothing is exported and the error detail names those accounts. This explicit no-store operation does not log in, refresh a session or contact Steam.
/ steam. v1. Steam/ ExportAccountAuthenticatorFilesRequest body
application/jsonRequired
Request to export the authenticator files of up to 500 active Steam accounts in the caller's workspace as one zip. Requires the same manage permission as revealing the accounts' credentials.
accountNames?array<string>Exact account names in the calling workspace, 1 to 500, each named once. 500 is our own limit.
Response body
application/json
Success
content?stringThe zip archive.
Format"byte" base64
fileName?stringSuggested file name, authenticator-files-<number of accounts>.zip.
application/json
The request was malformed, such as a missing required field or an unparseable cursor. The request cannot be carried out in the current system state.
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/ExportAccountAuthenticatorFiles" \
-H "Authorization: Bearer $CSTRADER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountNames": [
"flip_eu_02"
]
}'const res = await fetch("https://api.goldmine.to/steam.v1.Steam/ExportAccountAuthenticatorFiles", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CSTRADER_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"accountNames": [
"flip_eu_02"
]
}),
});
const data = await res.json();body := strings.NewReader(`{
"accountNames": [
"flip_eu_02"
]
}`)
req, err := http.NewRequestWithContext(ctx, http.MethodPost, "https://api.goldmine.to/steam.v1.Steam/ExportAccountAuthenticatorFiles", 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/ExportAccountAuthenticatorFiles",
headers={"Authorization": f"Bearer {os.environ['CSTRADER_API_KEY']}"},
json={
"accountNames": [
"flip_eu_02"
]
},
)
data = res.json(){
"content": "AY86PB0ufwCKGyw9Tl9gcQ==",
"fileName": "Rifle accounts"
}{
"code": "failed_precondition",
"message": "The request cannot be carried out in the current system state."
}{
"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."
}