Skip to content
Votes

Create a vote

Understanding how to use FeatureOS API to build custom integrations.

Introduction

This endpoint allows you to create a new vote for the post.

POST https://api.featureos.app/api/v3/votes
curl -X POST 'https://api.featureos.app/api/v3/votes' \
  -H 'API-KEY: YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Headers

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