Skip to content

Content

The content api serves static content such as slideshows, articles, etc

Search Content Endpoint

The search content endpoint provides access to articles, videos, and other content types with support for filtering, pagination, and detailed content retrieval.

API

API Documentation

Refer to our API documentation for the most up to date specifications.

Simply click "Try it out" then "Execute" with the default values to see a live response.

Open API Doc

Open In a New Window

Example

Request
curl -X GET 'https://gateway.stage.sharecare.com/content/distribution/article' \
-H 'X-API-Key: 5nLpWr' \
-H 'X-API-Version: 1.0.0' \
-H 'accept: application/json'
Sample Response
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "id": "2f8157c1-913e-4039-b97c-c33c09c73e68",
            "resourceId": "2f8157c1-913e-4039-b97c-c33c09c73e68",
            "type": "article",
            "title": "The Secret to a Filling Smoothie",
            "uri": "secret-smoothie-weight-loss",
            "primaryTag": {
                "type": "tag",
                "id": "3ae9"
            }
        }
    ]
}

Content Detail Endpoint

The content detail endpoint returns data for specific articles, videos, and other content types based on content id.

API

API Documentation

Refer to our API documentation for the most up to date specifications.

Simply click "Try it out" then "Execute" with the default values to see a live response.

Open API Doc

Open In a New Window

Example

Request
curl -X GET 'https://gateway.stage.sharecare.com/content/distribution/article/2f8157c1-913e-4039-b97c-c33c09c73e68' \
-H 'X-API-Key: 5nLpWr' \
-H 'X-API-Version: 1.0.0' \
-H 'accept: application/json'
Sample Response
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "id": "2f8157c1-913e-4039-b97c-c33c09c73e68",
            "resourceId": "2f8157c1-913e-4039-b97c-c33c09c73e68",
            "type": "article",
            "title": "The Secret to a Filling Smoothie",
            "body": "<p>Smoothies have a reputation for being healthy...</p>",
            "uri": "secret-smoothie-weight-loss",
            "attribution": {
                "byLine": "Taylor Lupo",
                "option": "externalLink",
                "byLineUrl": "https://www.sharecare.com/editorial-bios/#taylor-lupo"
            },
            "image": {
                "id": "v1625860773/articles/secret-smoothie-add-ins-weight-loss",
                "title": "4 Secret Smoothie Add-Ins for Weight Loss",
                "url": "http://res.cloudinary.com/sharecare/image/upload/v1625860773/articles/secret-smoothie-add-ins-weight-loss.jpg"
            },
            "primaryTag": {
                "type": "tag",
                "id": "3ae9"
            }
        }
    ]
}