API referenceOfficial · Account
Set up a bound Steam account
Makes a bound Steam account's inventory public and sets its Steam trade link.
POST
/api/market/developer/steam/setupMakes a bound Steam account's inventory public and sets its Steam trade link.
The Steam account must already be bound to BUFF. Each setup action reports its result independently; one failure does not prevent the others from running.
Authorization
bearer AuthorizationBearer <token>
BUFF developer API token. Send it as Authorization: Bearer <token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/market/developer/steam/setup" \ -H "Content-Type: application/json" \ -d '{ "steamid": "76561198012345678" }'{ "publish_inventory": "success", "setup_trade_url": "success", "setup_api_key": "fail", "errors": { "setup_api_key": "Need manual set API key" }}