capabilities.work

Refresh Token and List Videos

A 2-step recipe with TikTok for Developers. We can help you get access.

Recipe · 2 steps

Refresh Token and List Videos

Rotate the access token, then list the user's recent videos.

  1. Exchange the refresh token for a new access token via the OAuth token refresh endpoint.
  2. List the authenticated user's most recent public videos using the newly issued access token.
What you'll need to have ready
  • clientKey: Your app's client key.
  • clientSecret: Your app's client secret.
  • refreshToken: A valid refresh token to exchange for a new access token.
  • videoFields: Comma-separated video fields to return.
  • maxCount: Maximum number of videos to list (1-20).
For your developer

Arazzo workflow tiktok-for-developers:refresh-token-and-list-videos, 2 operations: refreshToken → listVideos. Specs on APIs.io.