Write

Post Comment v2

Post a comment via the v2 write path. Session cookies are optional when a Reddit session is connected through POST /api/reddit/session: a call that sends none acts as the stored session, and cookies you do send always win. Cost: $0.012 per call.

post/api/reddit/v2/comment

Request

  • Base URL: https://api.redditapis.com
  • URL: https://api.redditapis.com/api/reddit/v2/comment
  • Auth: HTTP bearer

Request body

post_urlstring required

Any reddit.com post URL

textstring required

Comment body (plain text)

reddit_sessionstring

Account session cookie (from /api/reddit/login)

loidstring

Account loid cookie (from /api/reddit/login)

token_v2string

Reddit token_v2 cookie

csrf_tokenstring

Reddit CSRF token cookie

edgebucketstring

edgebucket cookie

csvstring

csv cookie

session_trackerstring

session_tracker cookie

pcstring

pc cookie

Response

Successful response.

object required

Changes

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