GET
/
v1
/
teams
/
{teamId}
/
posts
/
facets
/
enrichment
TypeScript client
import { OctosparkClient } from '@octospark/sdk'

const client = new OctosparkClient({
  token: process.env.OCTOSPARK_TOKEN
})

const response = await client.socialListPostEnrichmentFacets({
  teamId: process.env.OCTOSPARK_TEAM_ID ?? "teamId",
  query: {},
})
{
  "data": [
    {
      "values": [
        {
          "value": "<string>",
          "postCount": 123
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamId
string
required

Query Parameters

fields
string

Response

Success

data
object[]
required