Idea comments
Create an idea comment created by an Aha! user (specified by id)
Idea comments can appear in ideas portals. To reply to an idea_comment, specify the parent_idea_comment_id. Its visibility will come from its parent idea comment and cannot be overridden.
post/ideas/{idea_id}/idea_comments
Request
- Base URLhttps://company.aha.io/api/v1
- Auth
- OAuth 2Authorization codehttps://{account-domain}.aha.io/oauth/authorizeToken URLhttps://{account-domain}.aha.io/oauth/token
- or HTTP bearer
- or API key in cookie session
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idea_idstring required
IdeaId identifier
Request body
Example request
{
"idea_comment": {
"spam": "true"
}
}Response
Successful operation
Example response
{
"idea_comment": {
"id": "6776881149486308366",
"idea_id": "58056975",
"body": "<p>This is the comment body.</p>",
"updated_at": "2019-01-01T00:00:00.000Z",
"created_at": "2019-01-01T00:00:00.000Z",
"visibility": "Visible to creator and employees",
"parent_idea_comment_id": null,
"idea_commenter_user": {
"id": "1020675218",
"name": "Mary Humpty",
"email": "no-reply@aha.io",
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z"
},
"idea": {
"id": "58056975",
"name": "Idea 1",
"reference_num": "PRJ1-I-1",
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z",
"workflow_status": {
"id": "3259216",
"name": "New",
"position": 1,
"complete": false,
"color": "#dce7c6",
"workflow_status_category": null
},
"description": {
"id": "103757394",
"body": "Description of idea 1",
"notable_id": "58056975",
"notable_type": "Ideas::Idea",
"editor_version": 1,
"created_at": "2019-01-01T00:00:00.000Z",
"updated_at": "2019-01-01T00:00:00.000Z",
"attachments": []
},
"url": "https://company.aha.io/ideas/ideas/PRJ1-I-1",
"resource": "https://company.aha.io/api/v1/ideas/PRJ1-I-1"
},
"attachments": []
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.