Idea votes API
"Idea votes" in the web interface are referenced as "idea endorsements" from API endpoints.
Get all related idea organizations for votes associated with an idea
GET /api/v1/ideas/:idea_id/endorsements
Use the field "associated_idea_organizations" to get a list of all related idea organizations associated with each vote. This field can also be used when retrieving a single idea endorement.
Name | Description |
---|---|
idea_id * | Numeric ID or key of the idea |
fields * | *,associated_idea_organizations |
Example request
GET /api/v1/ideas/PRJ1-I-1/endorsements?fields=*%2Cassociated_idea_organizations
Example CURL command
curl -g "https://company.aha.io/api/v1/ideas/PRJ1-I-1/endorsements?fields=*%2Cassociated_idea_organizations" -X GET \
-H "Authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Request
authorization: Bearer 15b60d42d4bc417284a246ced6877b0bf13fb4aca415f7b55f7006bc3694a8ab
contentType: application/json
accept: application/json
Response
Status: 200 OK
contentType: application/json; charset=utf-8
Response body