Comments API

Comments can be added to and listed as a sub-resource on any resource that supports them. These resources support comments:

They can be listed product-wide, or retrieved from anywhere in the system using the root comments resource.

Create a comment on a release phase

POST /api/v1/release_phases/:release_phase_id/comments

Parameters
NameDescription
release_phase_id *

Numeric ID or key of the release phase

Example request

POST /api/v1/release_phases/20526005/comments

Example CURL command

curl "https://company.aha.io/api/v1/release_phases/20526005/comments" -d '{"comment":{"body":"\u003cp\u003eThis is the comment body for a release phase.\u003c/p\u003e"}}' -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