ETLMCPData Conveyance Works
Log in Start free
Guides

TikTok connections don't expire, but they can be revoked

TikTok's long-term Marketing API token has no expiry date and no refresh token, so a TikTok connection ends only when its access is revoked.

Coming This connector is coming.

A TikTok connection has no expiry date. The TikTok Marketing API gives an app a long-term access token when an advertiser authorizes it, and TikTok's documentation says that token does not expire. TikTok issues no refresh token with it, so there is nothing to renew. If a TikTok connection stops working, the token was revoked or refused, and the fix is to authorize again.

What TikTok's documentation says

TikTok's page on obtaining a long-term access token covers the token an app gets after an ad account, a Business Center account or a TikTok One Creator Marketplace account grants it access. The token response carries the access token, the list of ad accounts it can reach and the permission scopes that were granted. It includes no refresh token and no expiry time.

TikTok's revoke page describes a separate call that cancels a long-term token. Its response lists the ad accounts that the token can no longer reach.

The consent step has a short limit of its own. After the advertiser approves the app, TikTok sends back an auth_code. According to TikTok, that code is valid for one hour and can be used only once. It is exchanged for the long-term token straight away, so the limit has no effect on how long the connection lasts.

TikTok's short-term tokens are different. Those come from authorizing a TikTok account, as opposed to an ad account. TikTok says a short-term token expires after one day, and its code is valid for 10 minutes. Ad reporting uses the long-term token, so the one-day limit does not apply to it.

TikTok's MCP server has a 30-day limit

TikTok's guide to connecting Claude to the TikTok for Business MCP Server says that authorization lasts 30 days. After that, you authorize again with the same TikTok for Business account. That limit belongs to the MCP server's sign-in. It does not apply to Marketing API tokens that a reporting app such as etlmcp holds. For how the two servers differ, see TikTok's own MCP server and etlmcp.

What etlmcp does with a TikTok connection

The TikTok connector shows a Coming stamp on this build. This section describes what etlmcp does once the connector is available.

  • No expiry date is stored. etlmcp stores the token with no expiry date. Your connection list shows no date when TikTok access ends, and the daily check that warns owners before a connection expires never warns about a TikTok connection. The expiring connections page explains that check for the platforms that need it.
  • No renewal is attempted. etlmcp never tries to refresh a TikTok token, because TikTok has nothing to refresh it with.
  • A refusal means reconnect. Suppose TikTok answers with one of its invalid-token or withdrawn-access codes, for example after the token was revoked. etlmcp then marks the connection and its sources as needing reconnection and fails the run with TikTok needs reconnecting. It emails the organization's owners once. The email asks them to reconnect and says that syncs are paused until they do. See needs reconnecting.
  • Reconnecting resumes the existing sources. You reconnect by authorizing again with the same TikTok user. etlmcp refuses a reconnect from a different TikTok user. A successful reconnect stores a new token on the existing connection, and its sources resume by themselves.
  • Deleting a connection revokes the token. When you delete a TikTok connection, etlmcp calls TikTok's revoke endpoint for its token. It skips that call when another connection still uses the same TikTok login, because revoking the token would cut that connection off too.

What to check when TikTok syncs stop

If every source on one TikTok login stops at once with TikTok needs reconnecting, TikTok refused the token itself. Authorize again with the same TikTok user from the sources page.

If only one ad account stops while the others on the same login keep syncing, the token is still valid. That one account is no longer reachable with this login, which is a different case: see ad account not accessible. When you reconnect, grant the permissions listed in which TikTok permissions etlmcp needs.

Related

Sources

  1. Obtain a long-term access token — business-api.tiktok.com, checked
  2. Revoke a long-term access token — business-api.tiktok.com, checked
  3. Obtain a short-term access token — business-api.tiktok.com, checked
  4. How to connect Claude to TikTok for Business MCP Server — business-api.tiktok.com, checked