GET/v1/analytics

List analytics

Basic analytics for successfully published destinations — share URLs and engagement placeholders.

Request

bash·cURL
curl -X GET "https://YOUR_PROJECT.supabase.co/functions/v1/public-api/v1/analytics" \
  -H "Authorization: Bearer px_live_YOUR_KEY"

Response

json·200 OK
{
  "data": [
    {
      "id": "post-uuid-account-uuid",
      "post_id": "post-uuid",
      "platform": "threads",
      "username": "yourhandle",
      "share_url": "https://www.threads.net/@you/post/…",
      "published_at": "2026-06-22T14:00:06Z",
      "view_count": 0,
      "like_count": 0,
      "comment_count": 0,
      "share_count": 0
    }
  ]
}