naftiko: 1.0.0-alpha2 info: label: TikTok Content Posting API — Post description: 'TikTok Content Posting API — Post. 4 operations. Lead operation: Query Creator Info. Self-contained Naftiko capability covering one Tiktok For Developers business surface.' tags: - Tiktok For Developers - Post created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TIKTOK_FOR_DEVELOPERS_API_KEY: TIKTOK_FOR_DEVELOPERS_API_KEY capability: consumes: - type: http namespace: tiktok-content-posting-post baseUri: https://open.tiktokapis.com description: TikTok Content Posting API — Post business capability. Self-contained, no shared references. resources: - name: v2-post-publish-creator_info-query path: /v2/post/publish/creator_info/query/ operations: - name: querycreatorinfo method: POST description: Query Creator Info outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v2-post-publish-inbox-video-init path: /v2/post/publish/inbox/video/init/ operations: - name: initinboxvideoupload method: POST description: Init Inbox Video Upload outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-post-publish-status-fetch path: /v2/post/publish/status/fetch/ operations: - name: getpublishstatus method: POST description: Get Publish Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2-post-publish-video-init path: /v2/post/publish/video/init/ operations: - name: initvideopublish method: POST description: Init Video Upload outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.TIKTOK_FOR_DEVELOPERS_API_KEY}}' exposes: - type: rest namespace: tiktok-content-posting-post-rest port: 8080 description: REST adapter for TikTok Content Posting API — Post. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2/post/publish/creator-info/query name: v2-post-publish-creator-info-query description: REST surface for v2-post-publish-creator_info-query. operations: - method: POST name: querycreatorinfo description: Query Creator Info call: tiktok-content-posting-post.querycreatorinfo outputParameters: - type: object mapping: $. - path: /v1/v2/post/publish/inbox/video/init name: v2-post-publish-inbox-video-init description: REST surface for v2-post-publish-inbox-video-init. operations: - method: POST name: initinboxvideoupload description: Init Inbox Video Upload call: tiktok-content-posting-post.initinboxvideoupload with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/post/publish/status/fetch name: v2-post-publish-status-fetch description: REST surface for v2-post-publish-status-fetch. operations: - method: POST name: getpublishstatus description: Get Publish Status call: tiktok-content-posting-post.getpublishstatus with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2/post/publish/video/init name: v2-post-publish-video-init description: REST surface for v2-post-publish-video-init. operations: - method: POST name: initvideopublish description: Init Video Upload call: tiktok-content-posting-post.initvideopublish with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: tiktok-content-posting-post-mcp port: 9090 transport: http description: MCP adapter for TikTok Content Posting API — Post. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: query-creator-info description: Query Creator Info hints: readOnly: true destructive: false idempotent: false call: tiktok-content-posting-post.querycreatorinfo outputParameters: - type: object mapping: $. - name: init-inbox-video-upload description: Init Inbox Video Upload hints: readOnly: false destructive: false idempotent: false call: tiktok-content-posting-post.initinboxvideoupload with: body: tools.body outputParameters: - type: object mapping: $. - name: get-publish-status description: Get Publish Status hints: readOnly: true destructive: false idempotent: false call: tiktok-content-posting-post.getpublishstatus with: body: tools.body outputParameters: - type: object mapping: $. - name: init-video-upload description: Init Video Upload hints: readOnly: false destructive: false idempotent: false call: tiktok-content-posting-post.initvideopublish with: body: tools.body outputParameters: - type: object mapping: $.