# Post text or comment to Reddit / subreddit community

**URL:** <https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691>\
**Category:** Help Hub\
**Tags:** reddit, subreddit\
**Created:** [August 4, 2020, 5:54am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691 "2020-08-04T05:54:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CryptoAngel](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CryptoAngel](https://community.postman.com/u/CryptoAngel)\
**Post date:** [August 4, 2020, 5:54am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/1 "2020-08-04T05:54:41Z")

</div>

Hello,

I have obtained the oAuth from Reddit and able to GET info according to the APIs of them.  
Do anyone know how to POST text or comment?  
I couldn’t make happened and the info on the developer page is unclear or maybe can’t make with Postman?

Thank you

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 4, 2020, 7:11am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/2 "2020-08-04T07:11:08Z")

</div>

Hey @CryptoAngel

Can you share your POST request and the documentation you’re following please?

---

<div class="post-metadata">

**Author:** ![CryptoAngel](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CryptoAngel](https://community.postman.com/u/CryptoAngel)\
**Post date:** [August 4, 2020, 9:35am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/3 "2020-08-04T09:35:41Z")

</div>

Thank you for trying to help.  
Please see this [https://www.reddit.com/dev/api#POST\_api\_site\_admin](https://www.reddit.com/dev/api#POST_api_site_admin)

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 4, 2020, 6:13pm UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/4 "2020-08-04T18:13:51Z")

</div>

I think your problem is the API you’re trying to use. My guess is that you aren’t a site admin, so the api you linked will not work for you.

If you want to add a comment, [here is the documentation](https://www.reddit.com/dev/api#POST_api_comment) for that API.

If you want to submit a new link, [here is the documentation](https://www.reddit.com/dev/api#POST_api_submit) for that API.

---

<div class="post-metadata">

**Author:** ![CryptoAngel](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CryptoAngel](https://community.postman.com/u/CryptoAngel)\
**Post date:** [August 5, 2020, 4:01am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/5 "2020-08-05T04:01:25Z")

</div>

Thank you for your comment.  
I don’t need to be site admin to use the API, I have oAuth key which Reddit issued to me.  
According to the link you’ve sent, I don’t understand how to use it on Postman, and that’s what I’ve asked here in first place.

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 5, 2020, 11:43am UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/6 "2020-08-05T11:43:04Z")

</div>

REST APIs use json payloads in the request body. These payloads are nothing more than a key value pair. According to the documentation, to add a comment you need two key/values:

```auto
{
    "parent": "<identifier for the entity you are commenting on>",
    "text": "<markdown of the comment you want to add>"
}

```

If I had to guess, I would say that this is the id of a post

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/c/c425bc3c77548a57bacc3166ebea1fe0892c294c.png)

So putting that in Postmtan might look like this

 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/6/6f68591bc3ceaf832c978f207dd247ad96e64fbd.png)

---

<div class="post-metadata">

**Author:** ![CryptoAngel](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@CryptoAngel](https://community.postman.com/u/CryptoAngel)\
**Post date:** [August 5, 2020, 1:29pm UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/7 "2020-08-05T13:29:22Z")

</div>

Thank you so much for your effort to find the solution.  
Something is missing, since the way you suggested anyone can post a comment to Reddit. Ether needs to be signin before or have the oAuth key as part of the URL. I tried your suggested but it doesn’t work ;-(

---

<div class="post-metadata">

**Author:** ![allenheltondev](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/allenheltondev/32/31738_2.png) [@allenheltondev](https://community.postman.com/u/allenheltondev)\
**Post date:** [August 5, 2020, 1:41pm UTC](https://community.postman.com/t/post-text-or-comment-to-reddit-subreddit-community/14691/8 "2020-08-05T13:41:43Z")

</div>

You need to add your authorization token in the Authorization tab.

Or you can do whatever you did for your GET that is working.

If it’s adding a query parameter, then add a query parameter to the url
