Comment Creation
POST https://api.imgur.com/3/comment
Creates a new comment, returns the ID of the comment.
Response Model: Basic
Parameters
Key | Required | Description |
---|---|---|
image_id | required | The ID of the image or album in the gallery that you wish to comment on |
comment | required | The comment text, this is what will be displayed |
parent_id | optional | The ID of the parent comment, this is an alternative method to create a reply. |
Request Body
[{"name"=>"image_id", "value"=>"{{imageHash}}", "datatype"=>"string"}, {"name"=>"image_id", "value"=>"{{albumHash}}", "datatype"=>"string"}, {"name"=>"comment", "value"=>"I'm a giraffe!", "datatype"=>"string"}, {"name"=>"parent_id", "value"=>"{{commentId}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |