Docs
get_tiktok_creator_info
What TikTok last said about a TikTok account (or a Sandbox account that behaves like TikTok): the creator's nickname and username, the privacy levels they may choose (privacyLevelOptions: pick privacyLevel from these; there is no default), whether they turned comments, Duet or Stitch off (then allowComment / allowDuet / allowStitch must stay false), the longest video they may post (maxVideoPostDurationSec), and canPost: false with cannotPostReason when TikTok says they can't post now (a daily cap; don't post, try later). `fetchedAt` is when TikTok answered; `stale` is true with no answer or one over five minutes old: call refresh_tiktok_creator_info, then this again. `lastError` is a failed read after that answer. Read-only; never costs credits.
What TikTok last said about a TikTok account (or a Sandbox account that behaves like TikTok): the creator's nickname and username, the privacy levels they may choose (privacyLevelOptions: pick privacyLevel from these; there is no default), whether they turned comments, Duet or Stitch off (then allowComment / allowDuet / allowStitch must stay false), the longest video they may post (maxVideoPostDurationSec), and canPost: false with cannotPostReason when TikTok says they can't post now (a daily cap; don't post, try later). fetchedAt is when TikTok answered; stale is true with no answer or one over five minutes old: call refresh_tiktok_creator_info, then this again. lastError is a failed read after that answer. Read-only; never costs credits.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"channelAccountId": {
"format": "uuid",
"type": "string"
}
},
"required": [
"workspaceId",
"channelAccountId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"channelAccountId": {
"format": "uuid",
"type": "string"
},
"info": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"nickname": {
"type": [
"string",
"null"
]
},
"username": {
"type": [
"string",
"null"
]
},
"privacyLevelOptions": {
"items": {
"type": "string"
},
"type": "array"
},
"commentDisabled": {
"type": "boolean"
},
"duetDisabled": {
"type": "boolean"
},
"stitchDisabled": {
"type": "boolean"
},
"maxVideoPostDurationSec": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"canPost": {
"type": "boolean"
},
"cannotPostCode": {
"type": [
"string",
"null"
]
},
"cannotPostReason": {
"type": [
"string",
"null"
]
},
"fetchedAt": {
"type": "string"
},
"source": {
"enum": [
"tiktok",
"sandbox"
],
"type": "string"
}
},
"required": [
"nickname",
"username",
"privacyLevelOptions",
"commentDisabled",
"duetDisabled",
"stitchDisabled",
"maxVideoPostDurationSec",
"canPost",
"cannotPostCode",
"cannotPostReason",
"fetchedAt",
"source"
],
"type": "object"
},
{
"type": "null"
}
]
},
"lastError": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"at": {
"type": "string"
}
},
"required": [
"code",
"message",
"at"
],
"type": "object"
},
{
"type": "null"
}
]
},
"stale": {
"type": "boolean"
}
},
"required": [
"channelAccountId",
"info",
"lastError",
"stale"
],
"type": "object"
}Errors
[
"not_tiktok"
]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "Get a TikTok account's creator info"
}