RedRover Logo

Content Tools

Rewrite Content

Rewrites one post or comment so it reads like a person wrote it for Reddit, then checks and revises it.

POST/content/reddify
Scope: workspace:writeAI Connector Tool: redrover_reddify_content

A rewrite can take up to a few minutes. Give your HTTP client a timeout of at least 5 minutes.

Headers

  • AuthorizationstringRequired

    Bearer followed by an rr_live_ API key or a connected app's access token. See Authentication.

  • X-Workspace-Idstring

    The workspace to act on. Optional when the key can reach exactly one workspace.

    UUID

Body

  • typestringRequired

    post or comment

    one of post, comment

  • titlestring

    Post title. Required for posts, not allowed on comments

    1 to 300 characters

  • bodystringRequired

    The text: up to 40,000 characters for posts, 10,000 for comments

    1 to 40000 characters

  • subredditstring

    The subreddit it is meant for, which helps the checks

    1 to 50 characters

Response

200 The rewritten content and what the checks still flag.

  • dataobjectRequired
    Show 6 Child Fields
    • typestringRequired

      one of post, comment

    • titlestring

      The rewritten title. Posts only

    • bodystringRequired

      The rewritten body

    • findingsobject[]Required

      What the checks still flag

      Show 4 Child Fields
      • rulestringRequired

        The check that flagged it, like long-dash

      • fieldstringRequired

        one of title, body

      • messagestringRequired

        What to fix

      • spanobjectRequired

        Where in the field, when the check can point at it

        nullable

        Show 3 Child Fields
        • startnumberRequired
        • endnumberRequired
        • textstringRequired
    • passedbooleanRequired
    • passesintegerRequired

      Rewrite passes it took, at most 3

Errors

Every error uses the error envelope.

  • 400The content is invalid, or could not be rewritten
  • 503The rewrite could not run right now. Try again
  • 401The Authorization header is missing, or the key is invalid or revoked
  • 403The key lacks the endpoint's scope, or cannot reach the workspace
  • 429More than 120 requests in a minute. Wait for Retry-After seconds
  • 500Something went wrong on our side
curl -X POST "https://app.tryredrover.com/api/public/v1/content/reddify" \
  -H "Authorization: Bearer $REDROVER_API_KEY" \
  -H "X-Workspace-Id: $REDROVER_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "type": "post",
  "title": "What we learned shipping a weekly changelog",
  "body": "We started writing a public changelog every Friday. It changed how we plan."
}'
200 Response
{
  "data": {
    "type": "post",
    "title": "What a year of weekly changelogs taught us",
    "body": "We started posting a changelog every Friday. A few things surprised us...",
    "findings": [],
    "passed": true,
    "passes": 1
  }
}