API Documentation

Use the Repurposer API to integrate content generation into your workflow.

Authentication

All API requests require a Pro API key. Include it in the Authorization header:

Authorization: Bearer pxr_your_api_key_here

Get your API key by upgrading to Pro ($19/mo).

POST /api/repurpose

Repurpose a single URL into social media content.

Request

curl -X POST https://app.paxrel.com/api/repurpose \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer pxr_your_key" \
  -d '{
    "url": "https://example.com/article",
    "tone": "professional"
  }'

Parameters

ParamTypeDescription
urlstringArticle URL to repurpose (required)
tonestringprofessional | casual | witty | bold (default: professional)

Response

{
  "tweets": ["tweet 1", "tweet 2", "tweet 3", "tweet 4", "tweet 5"],
  "linkedin": "LinkedIn post content...",
  "newsletter": "Newsletter summary...",
  "instagram": ["caption 1", "caption 2", "caption 3"],
  "remaining": -1,
  "plan": "pro"
}

POST /api/bulk

Repurpose up to 10 URLs in a single request. Pro only.

Request

curl -X POST https://app.paxrel.com/api/bulk \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer pxr_your_key" \
  -d '{
    "urls": [
      "https://example.com/article-1",
      "https://example.com/article-2",
      "https://example.com/article-3"
    ],
    "tone": "casual"
  }'

Response

{
  "total": 3,
  "succeeded": 2,
  "failed": 1,
  "results": [
    {
      "url": "https://example.com/article-1",
      "tweets": [...],
      "linkedin": "...",
      "newsletter": "...",
      "instagram": [...]
    },
    {
      "url": "https://example.com/article-2",
      "tweets": [...],
      "linkedin": "...",
      "newsletter": "...",
      "instagram": [...]
    },
    {
      "url": "https://example.com/article-3",
      "error": "Could not extract content"
    }
  ],
  "plan": "pro"
}

Rate Limits

PlanSingle URLBulk
Free3/dayNot available
Pro ($19/mo)Unlimited10 URLs/request

Need help?

Questions about the API? Email us.

[email protected]