connect
List Reddit subreddits
Returns the subreddits the connected Reddit account can post to. Use this to get a subreddit name when creating a Reddit post.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/accounts/string/reddit-subreddits"{
"subreddits": [
{
"id": "2qh1i",
"name": "marketing",
"title": "Marketing",
"url": "/r/marketing/",
"over18": false
},
{
"id": "2qh3l",
"name": "socialmedia",
"title": "Social Media",
"url": "/r/socialmedia/",
"over18": false
}
],
"defaultSubreddit": "marketing"
}Empty
{
"error": "Unauthorized"
}Empty