Revisit Incentives
Drive user retention with TikTok's revisit capabilities. Starting December 14, 2026, mini games must integrate the platform-hosted Revisit Rewards APIs (getRevisitMissionReward and reportMissionRewardGranted) to pass review.
Caution: Starting December 14, 2026, getRevisitMissionReward and reportMissionRewardGranted replace the legacy startEntranceMission, getEntranceMissionReward, addShortcut, and getShortcutMissionReward APIs. When migrating an existing game, remove your legacy in-game buttons and legacy reward listeners so returning players do not trigger both flows and receive duplicate rewards.
Feature | Status | APIs |
Revisit Rewards (Sidebar revisit & Add to Home Screen) | Required from December 14, 2026 (TikTok 46.0.0+, SDK 0.32+) |
|
Revisit from profile (legacy) | Legacy (maintenance only until migration) |
|
Home screen shortcut (legacy) | Legacy (maintenance only until migration) |
|
TTMinis.game.getRevisitMissionReward(opts)
Checks whether the player completed a platform-hosted revisit task (sidebar revisit or add to home screen) and is eligible to receive the reward. Requires TikTok 46.0.0 or later and minimum supported library version 0.32 or later. Check TTMinis.game.canIUse('getRevisitMissionReward') before calling.
Parameters
Field | Type | Description | Required |
|
| Callback executed when the API call succeeds | No |
|
| Callback executed when the API call fails | No |
|
| Callback executed when the API call finishes (success or failure) | No |
Success callback parameters
Field | Type | Description |
|
|
|
|
| The completed reward scene: |
|
| The entry scene code the player used to open the mini game |
Example
function checkRevisitReward() {
if (!TTMinis.game.canIUse('getRevisitMissionReward')) return;
TTMinis.game.getRevisitMissionReward({
success: ({ canReceiveReward, rewardScene }) => {
if (!canReceiveReward) return;
// Grant the reward idempotently on your backend per rewardScene cooldown.
grantRevisitRewardOnServer(rewardScene)
.then((res) => {
// Call reportMissionRewardGranted ONLY when newly granted to avoid repeated toasts on onShow.
if (res.status === 'GRANTED_NOW' && TTMinis.game.canIUse('reportMissionRewardGranted')) {
TTMinis.game.reportMissionRewardGranted();
}
})
.catch((err) => {
console.error('grantRevisitRewardOnServer failed', err);
});
},
fail: (error) => {
console.error('getRevisitMissionReward failed', error);
}
});
}
checkRevisitReward();
TTMinis.game.onShow(checkRevisitReward);TTMinis.game.reportMissionRewardGranted(opts)
Notifies TikTok that your backend has granted the revisit reward so TikTok can display the native reward-added toast. This API does not grant rewards itself. Requires TikTok 46.0.0+ and SDK 0.32+. Check TTMinis.game.canIUse('reportMissionRewardGranted') before calling.
Important: Calling reportMissionRewardGranted() does not clear the in-memory canReceiveReward: true flag during the same session. Call it only when your server confirms the reward was newly granted (not when already granted earlier), otherwise every foreground onShow switch will pop the reward toast again.
Parameters
Field | Type | Description | Required |
|
| Callback executed when the API call succeeds | No |
|
| Callback executed when the API call fails | No |
|
| Callback executed when the API call finishes | No |
Example
if (TTMinis.game.canIUse('reportMissionRewardGranted')) {
TTMinis.game.reportMissionRewardGranted();
}Legacy APIs (replaced on December 14, 2026)
The four APIs below are for maintaining existing integrations until migration to Revisit Rewards.
TTMinis.game.startEntranceMission(opts)
Navigates to the TikTok profile sidebar to guide users to revisit.
Parameters
Field | Type | Description | Required |
|
| The callback function for a successful API call | No |
|
| The callback function for a failed API call | No |
|
| 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 |
|
| The callback function for a successful API call | No |
|
| The callback function for a failed API call | No |
|
| 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 |
|
| 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 |
|
| The callback function for a successful API call | No |
|
| The callback function for a failed API call | No |
|
| 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 |
|
| The callback function for a successful API call | No |
|
| The callback function for a failed API call | No |
|
| 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 |
|
| 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');
}
});