Docs
refresh_tiktok_creator_info
Ask TikTok for a TikTok account's current creator info, as TikTok requires before posting (the posting screen does it whenever it opens). For a real TikTok account the read runs in the background and usually lands within a few seconds (queued: true): poll get_tiktok_creator_info until its `info.fetchedAt` (or `lastError.at`) is at or after `requestedAt`. A Sandbox account that behaves like TikTok answers at once (queued: false, `creatorInfo` is its answer). An answer under 15 seconds old is not read again (queued: false). Returns the current creator info either way. Never costs credits.
Ask TikTok for a TikTok account's current creator info, as TikTok requires before posting (the posting screen does it whenever it opens). For a real TikTok account the read runs in the background and usually lands within a few seconds (queued: true): poll get_tiktok_creator_info until its info.fetchedAt (or lastError.at) is at or after requestedAt. A Sandbox account that behaves like TikTok answers at once (queued: false, creatorInfo is its answer). An answer under 15 seconds old is not read again (queued: false). Returns the current creator info either way. Never costs credits.
Access and cost
- Kind: mutation
- 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": {
"queued": {
"type": "boolean"
},
"requestedAt": {
"format": "date-time",
"type": "string"
},
"creatorInfo": {
"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"
}
},
"required": [
"queued",
"requestedAt",
"creatorInfo"
],
"type": "object"
}Errors
[
"not_tiktok",
"disconnected"
]Annotations
{
"destructiveHint": false,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Read a TikTok account's creator info again"
}