Comments

Approve comment

Approve a comment.

post/v1/comments/{commentId}/approve

Request

  • Base URL
    https://platform.hootsuite.com
  • URL
    https://platform.hootsuite.com/v1/comments/{commentId}/approve
  • Auth
    OAuth 2
    Authorization code: https://platform.hootsuite.com/oauth2/auth
    Token URL: https://platform.hootsuite.com/oauth2/token

Path parameters

commentIdstring required

The comment ID.

Headers

Authorizationstring required

A bearer token string used for authentication

Request body

sequenceNumberinteger required

The sequence number of the comment being approved.

reviewerType'EXTERNAL' | 'MEMBER'

The actor that will be approving the comment. Leaving this field empty will use "EXTERNAL" by default.

Using "MEMBER" requires that you use a member token to approve a comment that is pending approval by that member.

Example request

{
  "sequenceNumber": 11
}

Response

Success

dataobject

The data response envelope.

Changes

No recorded changes to this operation across all 1 revision of this API.