Skip to content

API Reference / Steam account groups

Fetch a single account group by ID

Returns the account group identified by account_group_id. Soft-deleted account groups are not returned.

POST/contracts.v1.Contracts/GetAccountGroup

Request body

application/jsonRequired

Request for one account group in the caller's workspace by identifier. A deleted group returns not_found.

accountGroupIdstring

Account group identifier.

Format"byte" base64

Response body

application/json

Success

accountGroup?AccountGroup

The requested account group.

Show attributes
createdAt?string

When the account group was created.

Format"date-time"

deletedAt?string

When the account group was soft-deleted, if it has been.

Format"date-time"

id?string

Opaque 16-byte account group identifier, base64-encoded in JSON.

Format"byte" base64

members?array<string>

Steam account names that belong to the group.

name?string

Human-readable account group name.

updatedAt?string

When the account group was last modified.

Format"date-time"

workspaceId?string

Workspace the account group belongs to.

Format"byte" base64

curl -X POST "https://api.goldmine.to/contracts.v1.Contracts/GetAccountGroup" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountGroupId": "ICEiIyQlJicoKSorLC0uLw=="
  }'
{
  "accountGroup": {
    "id": "ICEiIyQlJicoKSorLC0uLw==",
    "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
    "name": "Butterfly Knife Fade stock accounts",
    "createdAt": "2026-06-25T11:00:00Z",
    "updatedAt": "2026-06-25T11:00:00Z"
  }
}