Idea comments API

Idea comments can appear in ideas portals.

Create an idea comment created by an ideas portal user (specified by id)

POST /api/v1/ideas/:idea_id/idea_comments

Parameters
NameDescription
idea_id *

Numeric ID or key of the idea

body *

Body of the idea comment - may include html formatting.

portal_user

Portal user who created the idea comment

spam

Whether the idea comment is considered spam. Must be 'true' or 'false'

Example request

POST /api/v1/ideas/PRJ1-I-1/idea_comments

Example CURL command

curl "https://company.aha.io/api/v1/ideas/PRJ1-I-1/idea_comments" -d '{"idea_comment":{"idea_id":"PRJ1-I-1","portal_user":{"id":646391926},"body":"\u003cp\u003eThis is the comment body.\u003c/p\u003e"}}' -X POST \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body