TikTok for Developers

Developer Docs

Last updated November 12, 2026

Revisit Incentives

Drive user retention by navigating users to TikTok profile sidebar missions, adding desktop shortcuts, and claiming revisit reward incentives after completing entrance or shortcut missions.

Feature

Start the flow

Check the reward

Revisit from profile (profile sidebar)

startEntranceMission

getEntranceMissionReward

Home screen shortcut

addShortcut

getShortcutMissionReward

Note: SDK 0.32.0 (TikTok 46.0.0) adds getRevisitMissionReward and reportMissionRewardGranted. These APIs don't replace getEntranceMissionReward or getShortcutMissionReward, which remain supported.

TTMinis.game.startEntranceMission(opts)

Navigates to the TikTok profile sidebar to guide users to revisit.

Parameters

Field

Type

Description

Required

success

function

The callback function for a successful API call

No

fail

function

The callback function for a failed API call

No

complete

function

The callback function called when the API call ends (executed for both success and failure)

No

Example

TTMinis.game.startEntranceMission({
  success: () => {
    console.log('success');
  },
  fail: () => {
    console.log('fail');
  },
  complete: () => {
    console.log('complete');
  }
});

TTMinis.game.getEntranceMissionReward(opts)

Checks whether the user can receive the reward for reopening your mini game from the TikTok profile sidebar. The canReceiveReward field in the success callback reports whether the user can receive the reward.

To check the home screen shortcut reward, use getShortcutMissionReward instead.

Parameters

Field

Type

Description

Required

success

function

The callback function for a successful API call

No

fail

function

The callback function for a failed API call

No

complete

function

The callback function called when the API call ends (executed for both success and failure)

No

Success callback parameters

The success callback receives an object with the following fields:

Field

Type

Description

canReceiveReward

Boolean

Whether the user can receive the reward

Example

TTMinis.game.getEntranceMissionReward({
  success: ({ canReceiveReward }) => {
    console.log('success', canReceiveReward);
  },
  fail: () => {
    console.log('fail');
  },
  complete: () => {
    console.log('complete');
  }
});

TTMinis.game.addShortcut(opts)

Adds a shortcut to the home screen.

Parameters

Field

Type

Description

Required

success

function

The callback function for a successful API call

No

fail

function

The callback function for a failed API call

No

complete

function

The callback function called when the API call ends (executed for both success and failure)

No

Example

TTMinis.game.addShortcut({
  success: () => {
    console.log('success');
  },
  fail: (error) => {
    console.log('fail', error);
  },
  complete: () => {
    console.log('complete');
  }
});

TTMinis.game.getShortcutMissionReward(opts)

Checks whether the user can receive the add-to-home-screen reward.

Parameters

Field

Type

Description

Required

success

function

The callback function for a successful API call

No

fail

function

The callback function for a failed API call

No

complete

function

The callback function called when the API call ends (executed for both success and failure)

No

Success callback parameters

The success callback receives an object with the following fields:

Field

Type

Description

canReceiveReward

Boolean

Whether the user can receive the reward

Example

TTMinis.game.getShortcutMissionReward({
  success: ({ canReceiveReward }) => {
    console.log('success', canReceiveReward);
  },
  fail: (error) => {
    console.log('fail', error);
  },
  complete: () => {
    console.log('complete');
  }
});
TikTok for Developers