Skip to main content
POST
Vote on a Reddit post or comment

Request contract

  • Method and path: POST /apis/v1/social/accounts/{accountId}/reddit-vote
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/accounts/{accountId}/reddit-vote
  • accountId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

Body

application/json
direction
enum<integer>
required

1 to upvote, -1 to downvote, 0 to clear an existing vote

Available options:
1,
0,
-1
thingId
string
required

Reddit fullname of the target. Prefix "t3_" for a post and "t1_" for a comment. A bare id with no prefix is treated as a post ("t3_").

Response

Vote registered

success
boolean