agentleFS
apideck-librariesapideck-libraries/api-skills/skills/tiktok/SKILL.md

tiktok

Skill4 starsChanged 3 months agoApache-2.0View on GitHub

TikTok Shop integration via Apideck's Ecommerce unified API — same methods work across every connector in Ecommerce, switch by changing `serviceId`. Use when the user wants to read, write, or sync orders, products, customers, and stores in TikTok Shop. Routes through Apideck with serviceId "tiktok".

  • Reads credentials

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use youtube, linkedin and 2 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • refly-aiSkill

    youtube

    Integrate with YouTube for video management. Use when you need to: (1) upload videos to YouTube, (2) manage channel content, or (3) retrieve video analytics and insights.

    Also in 5 projects that use this

  • kkoppenhaverSkill

    linkedin

    Write LinkedIn posts in Keanan's voice. Use when drafting LinkedIn content, creating professional posts, or sharing builder-focused insights. Triggers include requests to "write a LinkedIn post", "draft something for LinkedIn", "help me post on LinkedIn", or any LinkedIn content creation. Generates upbeat, builder-centric content mixing practical how-tos with candid humor.

    Also in 3 projects that use this

  • refly-aiSkill

    gmail

    Integrate with Gmail for email management and automation. Use when you need to: (1) send and compose emails with attachments, (2) read and search emails by criteria, (3) manage drafts and email labels, or (4) reply to email threads and conversations.

    Also in 3 projects that use this

  • AnthropicSkill

    slack

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Apideck-managed credentials: not available — You bring your own TikTok Shop Partner Center app key and secret, for testing as well as …

    line 41
  2. Distinctive:

    Rate limits: No fixed published figure — TikTok allocates request capacity dynamically per shop and per endpoint.

    line 45
  3. Distinctive:

    Webhooks: No webhooks — neither native nor virtual, so TikTok Shop data is kept in sync by polling.

    line 47
  4. Distinctive:

    Not every Ecommerce operation is supported by every connector.

    line 117
  5. Very specific:

    When an endpoint isn't covered by the Ecommerce unified API, use Apideck's Proxy to call TikTok Shop directly — Apideck injects auth …

    line 129

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

TikTok Shop (via Apideck)

Access TikTok Shop through Apideck's Ecommerce unified API — one of 17 Ecommerce connectors that share the same method surface. Code you write here ports to Shopify, BigCommerce, Shopify (Public App) and 13 other Ecommerce connectors by changing a single serviceId string. Apideck handles auth, pagination, rate limiting, and retries so you don't write per-tenant TikTok Shop plumbing.

Beta connector. TikTok Shop is currently in beta on Apideck. Expect partial resource coverage and occasional mapping gaps. Always verify coverage (see below) and fall back to the Proxy API for unsupported operations.

Quick facts

At a glance

  • Implementation difficulty: involved — Partner Center App-Developer Registration + Mandatory Compliance and Legal Review
  • Vendor partnership required: yes (TikTok Shop Partner Center) — Register as an App developer (ISV), not a Seller developer. US partners sign up at partner.us.tiktokshop.com instead. A compliance and legal review follows.
  • Apideck-managed credentials: not available — You bring your own TikTok Shop Partner Center app key and secret, for testing as well as production.
  • Account type required: A TikTok Shop Partner Center account with an app created, and the shop, order and product APIs enabled on it.
  • Consumer access level: Any TikTok Shop seller who can approve the authorization for their own shop; TikTok documents no separate staff permission level.
  • Sandbox: available — TikTok Shop's Developer Guide covers development shops and an API testing tool; the access route is not documented publicly.
  • Rate limits: No fixed published figure — TikTok allocates request capacity dynamically per shop and per endpoint. Check an endpoint's own reference doc for a stated limit.
  • Authentication: OAuth-style code exchange, then a custom access-token header and mandatory request signing on every call rather than Bearer. Apideck handles all of it.
  • Webhooks: No webhooks — neither native nor virtual, so TikTok Shop data is kept in sync by polling.

Important to know:

  • Each connection currently asks the connecting seller for your app key, secret and service id in Vault, rather than those being set once for the integration, so plan to supply them per connection.
  • TikTok releases dated API versions about monthly and guarantees a previous version stays callable for only two months after its successor ships, with retirements announced in its changelog, so integrations need an upgrade habit.
  • TikTok ties the refresh token's expiry to the authorization period the seller granted rather than to a fixed lifetime, so a connection can lapse on the seller's schedule and need re-authorizing.
  • One seller authorization can cover several shops, and each connection is bound to the single shop chosen after authorizing, so a seller running more than one shop needs a connection per shop.

Facts synced from Apideck's connector metadata API — GET /connector/connectors/tiktok (overview field) is the live, authoritative version.

When to use this skill

Activate this skill when the user explicitly wants to work with TikTok Shop — for example, "list orders in TikTok Shop" or "sync products in TikTok Shop". This skill teaches the agent:

  1. Which Apideck unified API covers TikTok Shop (Ecommerce)
  2. The correct serviceId to pass on every call (tiktok)
  3. TikTok Shop-specific auth and coverage caveats

For the full method surface (parameters, pagination, filtering), use your language SDK skill:

  • apideck-node, apideck-python, apideck-dotnet, apideck-java, apideck-go, apideck-php, or apideck-rest

For the raw OpenAPI spec:

Minimal example (TypeScript)

import { Apideck } from "@apideck/unify";

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: process.env.APIDECK_APP_ID,
  consumerId: "your-consumer-id",
});

// List orders in TikTok Shop
const { data } = await apideck.ecommerce.orders.list({
  serviceId: "tiktok",
});

Portable across 17 Ecommerce connectors

The Apideck Ecommerce unified API exposes the same methods for every connector in its catalog. Switching from TikTok Shop to another Ecommerce connector is a one-string change — no rewrite, no new SDK.

// Today — TikTok Shop
await apideck.ecommerce.orders.list({ serviceId: "tiktok" });

// Tomorrow — same code, different connector
await apideck.ecommerce.orders.list({ serviceId: "shopify" });
await apideck.ecommerce.orders.list({ serviceId: "bigcommerce" });

This is the compounding advantage of using Apideck over integrating TikTok Shop directly: code against the unified Ecommerce API once, gain access to every connector in it. New connectors Apideck adds become available to your app without code changes.

Authentication

  • Type: OAuth 2.0
  • Managed by: Apideck Vault — Apideck handles the full OAuth dance (authorization code flow, token exchange, refresh). Never ask the user for API keys or tokens directly.
  • User setup: Users authorize via the Vault modal. Connection state progresses available → added → authorized → callable.
  • Token refresh: automatic. Expired tokens are refreshed transparently on the next API call.

See apideck-best-practices for Vault setup, connection lifecycle, and handling re-auth flows.

Verifying coverage

Not every Ecommerce operation is supported by every connector. Always verify before assuming a method works:

curl 'https://unify.apideck.com/connector/connectors/tiktok' \
  -H "Authorization: Bearer ${APIDECK_API_KEY}" \
  -H "x-apideck-app-id: ${APIDECK_APP_ID}"

See apideck-connector-coverage for patterns around UnsupportedOperationError and connector-specific fallbacks.

Escape hatch: Proxy API

When an endpoint isn't covered by the Ecommerce unified API, use Apideck's Proxy to call TikTok Shop directly — Apideck injects auth headers and handles token refresh. Set x-apideck-downstream-url to the target endpoint on TikTok Shop's own API:

curl 'https://unify.apideck.com/proxy' \
  -H "Authorization: Bearer ${APIDECK_API_KEY}" \
  -H "x-apideck-app-id: ${APIDECK_APP_ID}" \
  -H "x-apideck-consumer-id: ${CONSUMER_ID}" \
  -H "x-apideck-service-id: tiktok" \
  -H "x-apideck-downstream-url: <target endpoint on TikTok Shop>" \
  -H "x-apideck-downstream-method: GET"

See TikTok Shop's API docs for available endpoints.

Sibling connectors

Other Ecommerce connectors that share this unified API surface (same method signatures, just change serviceId):

shopify (beta), bigcommerce (beta), shopify-public-app (beta), woocommerce (beta), amazon-seller-central (beta), ebay (beta), etsy (beta), magento (beta), and 8 more.

See also

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.