RankControl Repurpose API

The Repurpose API from RankControl — 6 operation(s) for repurpose.

GitHub OpenAPI

Operations 6

GET /api/v1/repurpose Published articles with their social repurpose drafts per platform (platform +… #
GET /api/v1/repurpose/channels Connected social channels across Postiz and Buffer (scheduler, id, name… #
POST /api/v1/repurpose/draft Change a social post draft's text or title before you push or post it. #
POST /api/v1/repurpose/generate Draft platform-native social posts for all eight platforms from a published… #
POST /api/v1/repurpose/mark-posted Mark a repurpose draft as posted — use after publishing its text manually… #
POST /api/v1/repurpose/push Send a repurpose draft to a connected scheduler's channels: Postiz or Buffer… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/rctrl-com:rctrl-com-repurpose-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

rctrl-com-repurpose-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RankControl Repurpose API
  version: 1.0.0
  description: 'The REST API behind the RankControl dashboard, CLI, and MCP server. Authenticate every request with an API key as a Bearer header; keys are minted in Settings > API and carry scopes (see each operation''s x-required-scope). Full docs: https://rctrl.com/docs/api. MCP endpoint for AI agents: https://api.rctrl.com/mcp (OAuth 2.1, see https://rctrl.com/docs/mcp).'
  contact:
    email: help@rctrl.com
    url: https://rctrl.com/contact
  termsOfService: https://rctrl.com/terms
servers:
- url: https://api.rctrl.com
security:
- bearerAuth: []
tags:
- name: Repurpose
paths:
  /api/v1/repurpose:
    get:
      operationId: list_repurpose_queue
      summary: Published articles with their social repurpose drafts per platform (platform +…
      description: Requires the `read:content` scope.
      x-required-scope: read:content
      x-rate-limit-per-minute: 60
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Repurpose
  /api/v1/repurpose/channels:
    get:
      operationId: list_postiz_channels
      summary: Connected social channels across Postiz and Buffer (scheduler, id, name…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 3
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Repurpose
  /api/v1/repurpose/draft:
    post:
      operationId: update_repurpose_draft
      summary: Change a social post draft's text or title before you push or post it.
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 20
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                draftId:
                  type: string
                  description: Draft id from get_repurpose_drafts
                body:
                  type: string
                  description: The new post text
                title:
                  type: string
                  description: The new title, for drafts that have one
              required:
              - draftId
      tags:
      - Repurpose
  /api/v1/repurpose/generate:
    post:
      operationId: generate_repurpose_drafts
      summary: Draft platform-native social posts for all eight platforms from a published…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 5
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                contentId:
                  type: string
                  description: Published article id from list_content
                confirm:
                  type: boolean
                  description: 'Set true to write the drafts (default: dry run)'
              required:
              - contentId
      tags:
      - Repurpose
  /api/v1/repurpose/mark-posted:
    post:
      operationId: mark_repurpose_posted
      summary: Mark a repurpose draft as posted — use after publishing its text manually…
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 30
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                draftId:
                  type: string
                  description: Draft id from get_repurpose_drafts
              required:
              - draftId
      tags:
      - Repurpose
  /api/v1/repurpose/push:
    post:
      operationId: push_repurpose_draft
      summary: 'Send a repurpose draft to a connected scheduler''s channels: Postiz or Buffer…'
      description: Requires the `write:social` scope.
      x-required-scope: write:social
      x-rate-limit-per-minute: 5
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Success; the payload is wrapped in a data envelope
          content:
            application/json:
              schema:
                type: object
                properties:
                  data: {}
        '400':
          description: Bad input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: API key lacks the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found in this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; the body includes a retryAfterMs hint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                draftId:
                  type: string
                  description: Draft id from get_repurpose_drafts
                scheduler:
                  type: string
                  enum:
                  - postiz
                  - buffer
                  description: Which scheduler; required when both are connected
                integrationIds:
                  type: array
                  items:
                    type: string
                  description: Channel ids from list_postiz_channels (required with confirm)
                scheduleType:
                  type: string
                  enum:
                  - schedule
                  - draft
                  - queue
                  description: Default draft; queue is Buffer only
                date:
                  type: string
                  description: ISO time for scheduleType=schedule
                confirm:
                  type: boolean
                  description: 'Set true to send it to the scheduler (default: dry run)'
              required:
              - draftId
      tags:
      - Repurpose
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key from Settings > API, e.g. `Authorization: Bearer rctrl_pk_...`'