Comment Creation

POST https://api.imgur.com/3/comment

Creates a new comment, returns the ID of the comment.

Response Model: Basic

Parameters

KeyRequiredDescription
image_idrequiredThe ID of the image or album in the gallery that you wish to comment on
commentrequiredThe comment text, this is what will be displayed
parent_idoptionalThe 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

KeyDatatypeRequiredDescription
Authorizationstring