OverviewPlatformsAPI ReferenceResources
Connect

Set Reddit post flair

POSThttps://zernio.com/api/v1/accounts/{accountId}/reddit-flairs

Temporarily unavailable: Reddit has blocked third-party apps from its API, so this endpoint returns 503 PLATFORM_DISABLED until Reddit restores access. Reddit Ads is not affected.

Applies a flair to a post the connected account already published. Use the GET on this path to list the available flairTemplateId values for the subreddit.

Flair can also be set at submit time by passing flairId in platformSpecificData when creating the post. This endpoint is for changing it afterwards.

The subreddit must allow users to select their own post flair. Setting flair on another user's post requires moderator permissions, which Zernio does not request.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

The ID of the Reddit account that owns the post

Body

application/json

What every request needs

subredditstringRequired

Subreddit name (without the "r/" prefix)

postIdstringRequired

Reddit post id, with or without the t3_ prefix

flairTemplateIdstringRequired

Flair template id from the GET on this path

Optional parameters1 field
textstring

Optional override text, only for editable flair templates

Responses

Success· the request worked

Errors· the request failed

POST/v1/accounts/{accountId}/reddit-flairs
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.connect.setRedditPostFlair({  path: {    accountId: 'account_abc123',  },  body: {    subreddit: 'string',    postId: 'post_abc123',    flairTemplateId: 'flairtemplate_abc123',  },});console.log(data);
{  "success": true}
OpenAPI specification
Was this page helpful?