Skip to content

Commit Chat File Upload

Revadike edited this page Nov 5, 2026 · 1 revision

POST /chat/commitfileupload/

Finishes an upload of an image file to chat, after the file has been sent to the upload URL.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /chat/commitfileupload/

Form Data:

Name Type Required Description
sessionid string Yes The value of the sessionid cookie
file_name string Yes The file name used in beginfileupload
file_sha string Yes The SHA-1 hash of the file
success number Yes Always 1
ugcid string Yes The result.ugcid returned by beginfileupload
file_type string Yes The MIME type of the image
file_image_width number Yes The width of the image in pixels
file_image_height number Yes The height of the image in pixels
timestamp number Yes The timestamp returned by beginfileupload
hmac string Yes The hmac returned by beginfileupload
friend_steamid string Yes The 64-bit SteamID of the friend the file is uploaded for
spoiler number No When 1, the image is marked as a spoiler
l string No Language

Response

200 OK

Name Type Description
success number Whether the request was successful
result object The committed upload
result.success number Whether the upload was committed
result.details.url string URL of the uploaded image

401 Unauthorized

Name Type Description
success number The error code (112 = LimitedUserAccount)
message string The error message

Example

POST https://steamcommunity.com/chat/commitfileupload/

TODO

Clone this wiki locally