Create comment to a post / Create reply to a comment

Create a comment on a post or a reply to a comment. Note that all urls for media attachments must be valid and publicly accessible URLs.

See this section for more information about our data types.

The share_link returned is in the format of https://nextdoor.com/p/{post_share_id}/c/comment_id. The post_share_id can be used as an unique identifier for posts created. The comment_id can be used as a unique identifier for comments or replies created.

This API requires the following scopes:

  • comment:write
Body Params
string
required

The share id of a post that a comment or reply to a comment will be created on

string
required

The text that will appear in the comment

media_attachments
array of strings
Defaults to Optional

An optional list of media attachments that will appear in the post. The limit is 10 attachments

media_attachments
string
Defaults to Optional

ID of the comment that the reply will be created in. This argument should only be used if creating a reply to a comment.

string

An optional field that you can put profile id from /me/profiles endpoint

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json