sangtao.ai
API key

Publishing

List groups

Your publishing groups — each holds the social accounts you post through.

GEThttps://api.sangtao.ai/v2/publishing/teams

Authorization

  • X-Api-Keystring · headerrequired

    Your API key, from the API keys page of your account.

A group holds your connected social accounts — one account per network. Create groups and connect accounts on the Publishing page of sangtao.ai; connecting needs you to sign in to the network in a browser. Need two TikTok channels? Use two groups.

Response

  • idstring (guid)required

    The group's ID — the teamId of every other call

  • namestringrequired

    Group name

  • descriptionstring | null

    Group description

  • createdAtstringrequired

    When the group was created (ISO 8601, UTC)

  • accountCountnumberrequired

    Social accounts connected in this group

An array, newest group first.

GET/publishing/teams
curl "https://api.sangtao.ai/v2/publishing/teams" \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "data": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "name": "Main channels",
      "description": null,
      "createdAt": "2026-11-01T10:00:00Z",
      "accountCount": 2
    }
  ]
}