Casts or removes the authenticated user's upvote on a question in a Q&A (question and answer) session of a group.
No known rate limit
Authenticated: Yes Method: POST Host: steamcommunity.com Path: /questions/:vanity_url/ajaxvoteforquestion/:gidsession Variables: Name Type Description :vanity_url string The vanity URL of the group :gidsession string The 64-bit ID of the Q&A session Form Data: Name Type Required Description sessionid string Yes The value of the sessionid cookie gidquestion string Yes The 64-bit ID of the question up number Yes Whether to upvote or remove the upvote: 1 = upvote 0 = remove the upvote
Authenticated: Yes
Method: POST
POST
Host: steamcommunity.com
steamcommunity.com
Path: /questions/:vanity_url/ajaxvoteforquestion/:gidsession
/questions/:vanity_url/ajaxvoteforquestion/:gidsession
Variables:
:vanity_url
:gidsession
Form Data:
sessionid
gidquestion
up
1
0
200 OK Name Type Description success number Whether the request was successful
success
401 Unauthorized Name Type Description success number Whether the request was successful
POST https://steamcommunity.com/questions/valve/ajaxvoteforquestion/1234567890 { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", gidquestion: "1234567890123456789", up: 1 }
{ "success": 15 }
There was an error while loading. Please reload this page.