Skip to content

API Reference / Steam account groups

Create an account group

Creates a named, reusable set of Steam account names that contracts can reference and execute against.

POST/contracts.v1.Contracts/CreateAccountGroup

Request body

application/jsonRequired

Request to create a named set of Steam accounts in the caller's workspace that contracts can execute with.

members?array<string>

Steam account names that belong to the group.

name?string

Human-readable account group name.

Response body

application/json

Success

accountGroup?AccountGroup

The new account group with its assigned identifier.

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/CreateAccountGroup" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "AK-47 Redline buyers",
    "members": [
      "redline_trader_eu",
      "redline_trader_us",
      "float_hunter_01"
    ]
  }'
{
  "accountGroup": {
    "id": "EBESExQVFhcYGRobHB0eHw==",
    "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",
    "name": "AK-47 Redline buyers",
    "members": [
      "redline_trader_eu",
      "redline_trader_us",
      "float_hunter_01"
    ],
    "createdAt": "2026-06-29T10:00:00Z",
    "updatedAt": "2026-06-29T10:00:00Z"
  }
}