Get Generated Posts

This endpoint retrieves all post content that has been generated.


Endpoint

Method: GET URL:

https://app.marketingblocks.ai/api/v1/social-sparks/get-post-generations

Authorization

All requests must include a Bearer Token:

Authorization: Bearer <token>

Request

  • Method: GET

  • Endpoint: https://app.marketingblocks.ai/api/v1/social-sparks/get-post-generations

  • Parameters: None required.


Response

The response will return a JSON object containing an array of generated posts.

Fields

Field
Type
Description

id

string

Unique identifier for the generated post.

status

string

Status of the generated post (queued, done, failed).

caption_text

string

The caption text generated for the post.

media_urls

string[]

Array of URLs pointing to any media (video, image) for the post.


Example Request

curl

curl --location 'https://app.marketingblocks.ai/api/v1/social-sparks/get-post-generations' \
--header 'Authorization: Bearer <token>'

Example Response

{
  "post_generations": [
    {
      "id": "842c8151-8f9d-4eab-ae81-6690730b8b02",
      "status": "done",
      "caption_text": "This might be the missing piece to perfect flower buying.  \n\nFollow these steps next time you want flowers to last longer and look fresher.  \n\n→ Always ask when flowers arrived at the shop. Most people skip this and get old stock.  \n→ Check for strong, stiff stems and no yellow on leaves. Droopy or yellow means less life left.  \n→ Pick flowers that are mostly closed. Open blooms fade fast at home.  \n→ Avoid bunches with fallen petals in the bin. That’s a sign of poor care behind the scenes.  \n→ Strip lower leaves before putting in water. This stops rot and clouding.\n→ Trim stems at an angle under running water. This keeps water flowing straight to the bloom.  \n→ Swap the water every two days. Old water kills more flowers than you think.  \n\nTest these today. Notice the difference in how your flowers look and last. When was the last time you felt proud of your flowers a week after buying? Try one step now and share your result here.",
      "media_urls": [
        "https://cdn.vidjack.com/file/marketingblocks/video/breel-video-842c8151-8f9d-4eab-ae81-6690730b8b02-1755615234.mp4"
      ]
    },
    {
      "id": "f62a9033-a5d5-4e9e-be8a-2c7234ac0922",
      "status": "done",
      "caption_text": "Here is the break down 👇\n\n- You pick by price, not meaning. Flowers hold meaning. Roses signal love. Lilies whisper sympathy. Peonies show honor. Pause and look into the message before you buy. You want your gift to fit the moment.\n\n- No attention to freshness. Old blooms fade fast and never last the week. Look for firm petals. Bright stems. No brown tips. Ask the seller how fresh the stock is. A quick check saves your money and your gesture.\n\n- Ignoring allergies. Some flowers trigger headaches or sneezing. Double-check if your recipient has any pollen issues. Ask before you buy or choose low-pollen options like orchids.\n\nYou want a gift, not an embarrassment. Give with care. Walk through these steps today before you buy your next bouquet. What meaning do you want your flowers to send?",
      "media_urls": [
        "https://cdn.vidjack.com/file/marketingblocks/video/breel-video-f62a9033-a5d5-4e9e-be8a-2c7234ac0922-1755615014.mp4"
      ]
    },
    {
      "id": "ba2d9ed4-ccf0-4cb7-9b2f-c2bce8238b92",
      "status": "queued",
      "caption_text": "Tired of bouquets dying fast? Here are five things every flower buyer should know before their next purchase. Save this and never let your flowers die on you again.",
      "media_urls": []
    }
  ]
}

Last updated