Skip to content

API reference

Social

Read the social highlights the shop site shows, and the accounts they come from.

List social highlights

GET/api/v1/social/highlights

The Instagram and TikTok posts your site can show, synced or added by hand: pinned first in your order, then newest first, each with its tagged products and clicks over the last 30 days. Every page also lists your connected accounts and their health. Manage them from the dashboard.

Scope
social:read
MCP tool
social_highlights
Changes data
No

Parameters

NameTypeDescription
limitquery · optionalintegerResults per page, 1-1001-100default 25
cursorquery · optionalstringThe `next_cursor` from the previous page

Request

curl "https://3commerce.com/api/v1/social/highlights" \
  -H "Authorization: Bearer 3c_live_…"

Response

200 OK
{
  "connections": [
    {
      "network": "instagram",
      "handle": "mayachen.knits",
      "health": "active",
      "last_synced_at": "2026-11-24T06:00:00.000Z",
      "expires_at": "2027-01-20T06:00:00.000Z"
    }
  ],
  "data": [
    {
      "id": "3e7a1c9b-2d4f-4a6e-8b0c-5f1d3e7a9c2b",
      "source": "instagram",
      "link_network": "instagram",
      "permalink": "https://www.instagram.com/p/C1a2b3c4d5e/",
      "media_type": "image",
      "media_url": null,
      "thumbnail_url": "https://blob.example.com/social/3e7a1c9b.jpg",
      "caption": "The merino crew in oat, back in stock.",
      "posted_at": "2026-11-20T16:00:00.000Z",
      "hidden": false,
      "pinned": true,
      "products": [
        {
          "slug": "merino-crew",
          "title": "Merino crew sweater",
          "image": "https://images.example.com/merino.jpg"
        }
      ],
      "clicks_30d": 41
    }
  ],
  "next_cursor": null
}