Publishing
List groups
Your publishing groups — each holds the social accounts you post through.
GET
https://api.sangtao.ai/v2/publishing/teamsAuthorization
X-Api-Keystring · headerrequiredYour 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)requiredThe group's ID — the teamId of every other call
namestringrequiredGroup name
descriptionstring | nullGroup description
createdAtstringrequiredWhen the group was created (ISO 8601, UTC)
accountCountnumberrequiredSocial accounts connected in this group
An array, newest group first.
GET
/publishing/teamscurl "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
}
]
}GET
/publishing/teamscurl "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
}
]
}