Set default subreddit
Sets the default subreddit used when publishing posts for this Reddit account.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
1 <= lengthResponse Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.updateRedditSubreddits({ path: { accountId: 'account_abc123', }, body: { defaultSubreddit: 'string', },});console.log(data);{
"success": true
}{
"error": "Unauthorized"
}Vote on a Reddit post or comment POST
Cast, change, or clear the connected account's vote on a Reddit post or comment. **Reddit requires that votes be cast by humans.** Reddit's API terms permit a client to proxy a human's action one-for-one, and prohibit a bot from deciding how to vote or from amplifying a human's vote. Call this endpoint only in direct response to an explicit action by the account owner. Automated or agent-decided voting is vote manipulation and puts API access at risk.
Connect Bluesky account POST
Connect a Bluesky account using identifier (handle or email) and an app password. To get your userId for the state parameter, call GET /v1/users which includes a currentUserId field.