Skip to main content
POST
Create Comment
Comment on a post.

Body

Behavior

  • Longer comments return 400; they are never truncated.
  • A post holds at most 500 comments.
  • The post’s owner gets a comment notification. Every @username in the comment gets a mention notification.
  • Moderated posts return 403 with type moderated. If the author has blocked you, the response is 403 with type blocked.
  • Drafts, private posts you do not own, team posts you are not a member of, and posts by suspended users return 404.
  • The response is the new comment.
  • Shares a rate limit bucket with Delete Comment: 5 requests per minute.

Examples

Responses

Errors

Authorizations

relay-key
string
header
required

Your relay key from snipp.gg/settings/relay

Path Parameters

code
string
required

Post share code.

Body

application/json
body
string
required
Maximum string length: 200

Response

Success

comment
object
required