Skip to main content

RepurposeResult

source objectrequired
typestringrequired

Possible values: [url, youtube, pdf, text]

titlestringrequired
urlstring | nullnullablerequired
captions object[]required
  • Array [
  • account_idinteger

    ID of the social account this caption was generated for.

    Example: 5
    providerstring

    Social media platform identifier.

    Example: x
    contentstring | nullnullable

    The generated caption text. null if generation failed for this account.

    Example: Unlock better social media results with these 10 proven tips. #SocialMedia #Marketing
    character_countinteger | nullnullable

    Character count of the generated content. null if generation failed.

    Example: 87
    character_limitinteger

    Maximum allowed character count for this platform.

    Example: 280
    errorstring | nullnullable

    Error message if caption generation failed for this account. null on success.

  • ]
  • slides object[]required

    Carousel slides in order (hook first, call to action last). Empty without a carousel.

  • Array [
  • media_idintegerrequired

    Media library ID; reuse it in post versions.

    urlstringrequired

    Public URL of the image.

  • ]
  • media object | null

    Source image attached instead of a carousel, when there are no slides.

    idinteger
    urlstring
    post_uuid(string | null)<uuid>nullablerequired

    The draft post; null when create_post was false.

    credits_usedintegerrequired
    credits_remaininginteger | nullnullablerequired

    Null for unlimited plans.

    warningsstring[]required

    Parts that were skipped (for example a network that gets no carousel).

    RepurposeResult
    {
    "source": {
    "type": "url",
    "title": "string",
    "url": "string"
    },
    "captions": [
    {
    "account_id": 5,
    "provider": "x",
    "content": "Unlock better social media results with these 10 proven tips. #SocialMedia #Marketing",
    "character_count": 87,
    "character_limit": 280,
    "error": "string"
    }
    ],
    "slides": [
    {
    "media_id": 0,
    "url": "string"
    }
    ],
    "media": "Unknown Type: object,null",
    "post_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "credits_used": 0,
    "credits_remaining": 0,
    "warnings": [
    "string"
    ]
    }