POST

Upvote


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Casts an upvote on a resource for the current identity.

Changes the current identity's existing downvote to an upvote. Repeating the same vote doesn't remove it. To clear a vote, call Remove Vote. Specify the resource's app and context in contextData. Voting must be enabled for that context.

Permission Scopes
Manage comment votes
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/v1/votes/upvote

Errors
400Invalid Argument

There is 1 error with this status code.

403Permission Denied

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?