stories

Get a single story by ID with recipe fields (v3)

Changed on
get/v3/stories/{id}

Request

  • Base URL
    https://partners-api.thriveglobal.com
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

Unique identifier of the story (UUID)

Query parameters

localestring

Language locale (e.g. en, es, en-GB)

stripExternalLinksboolean

When true, links to non-Thrive domains are removed from content fields; the link text is preserved. Links to thriveglobal.com and relative links are kept.

stripThriveLinksboolean

When true, links to Thrive destinations are removed from content fields; the link text is preserved. This covers thriveglobal.com and its subdomains, relative links and in-page anchors. Links to other domains are kept — send stripExternalLinks alongside this to remove those as well, or send stripAllLinks, which takes precedence over both and removes every link. Note that browsers underline and colour links by default, so any external links left in the content will still render as links unless you also strip them or override it in your own styles.

stripAllLinksboolean

When true, all links are removed from content fields; the link text is preserved. Unlike stripExternalLinks, this also removes links to thriveglobal.com and relative links.

stripStylesboolean

When true, inline style attributes are removed from HTML content fields, and the presentational elements <u>, <b> and <i> are removed while their text is kept. Semantic elements such as <em> and <strong>, all text, and all other attributes are preserved. Note that links are underlined by browsers by default, so content containing links may still render underlined unless you also strip links or override it in your own styles.

Response

Item retrieved successfully

messagestring
validboolean

Example response

{
  "valid": true,
  "data": {
    "data": {
      "learnV2": {
        "item": {
          "media": [
            {
              "contentType": "audio/mpeg"
            }
          ],
          "tags": [
            {
              "slug": "sleep",
              "name": "Sleep"
            }
          ],
          "conditions": [
            {
              "slug": "sleep",
              "name": "Sleep"
            }
          ]
        }
      }
    }
  }
}

Changes

    • info

      added the new optional query request parameter stripThriveLinks

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status