Idea votes API
"Idea votes" in the web interface are referenced as "idea endorsements" from API endpoints.
Create additional idea votes
POST /api/v1/ideas/:idea_id/endorsements?multiple_endorsements=true
Create an additional vote for a user who has already voted on the idea. Only permitted for an ideas portal where users are allowed multiple votes on the same idea.
Name | Description |
---|---|
idea_id * | Numeric ID or key of the idea |
value | Dollar value of the idea vote, numeric |
Example request
POST /api/v1/ideas/PRJ1-I-8/endorsements?multiple_endorsements=true
Example CURL command
curl "https://company.aha.io/api/v1/ideas/PRJ1-I-8/endorsements?multiple_endorsements=true" -d '{"idea_endorsement":{"email":"[email protected]"}}' -X POST \
-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Request
authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json
Request body
Response
Status: 200 OK
contentType: application/json; charset=utf-8
Response body