Introduction
This endpoint allows you to create a new vote for the post.
POST https://api.featureos.app/api/v3/votes
| Parameter | Default | Description |
|---|
| API-KEY | - | Generate from organization settings on the admin dashboard. |
| ALLOW-PRIVATE | false | Set to true if filtering out a private board’s posts. |
| Authorization | - | Generate a unique JWT token that is specific to a user |
Body Parameters
| Parameter | Required | Format | Description |
|---|
| feature_request_id | true | Integer | The unique id of the post. |
| vote_type | true | String | Allowed value is either 'upvote' or 'downvote' |
Sample response