Skip to content

API Reference / Steam chat

Send a chat message

Send a friend chat message from the account to a Steam user. Messages have a maximum length and are subject to a daily send cap per account.

POST/steam.v1.Steam/SendChatMessage

Request body

application/jsonRequired

Request to send a friend chat message from one of the workspace's Steam accounts. Messages are limited to 1024 characters, and each account has a daily limit on the messages it sends.

accountNamestring

Sending Steam account name.

bodystring

The message text. Capped at Steam's 1024-character message limit and subject to the account's daily limit.

partnerSteamIdstring

The recipient's 64-bit SteamID.

Response body

application/json

Success

requestId?string

Accepted command identifier. Acceptance is queued, not confirmation that Steam sent the message.

curl -X POST "https://api.goldmine.to/steam.v1.Steam/SendChatMessage" \
  -H "Authorization: Bearer $CSTRADER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountName": "trader_bot_01",
    "partnerSteamId": "76561198044443322",
    "body": "Hi, your item has been sent!"
  }'
{}