TikTok for Developers

Developer Docs

Last updated November 12, 2026

Revisit Incentives

These APIs enable entry missions and shortcut missions that reward players for returning to the game or adding a desktop shortcut.

TT.StartEntranceMission(param)

Sends the player to the TikTok profile sidebar, which shows how to reopen your mini game from the profile. This method doesn't grant a reward. To check whether the player can receive the reward, call TT.GetEntranceMissionReward after the player reopens the game.

Signature

public static void StartEntranceMission(TTStartEntranceMissionParam param)

Parameters

Field

Type

Description

Required

success

Action<TTCheckBalanceResult>

Called when the API call succeeds.

No

fail

Action<ErrorInfo>

Called when the API call fails.

No

complete

Action<GeneralCallbackResult>

Called after success or fail.

No

Example

TT.StartEntranceMission(new TTStartEntranceMissionParam
{
  success = result =>
  {
    // Continue the revisit flow; don't grant a reward here
  },
  fail = error =>
  {
    // Handle failure
  }
});

TT.GetEntranceMissionReward(param)

Checks whether the player can receive the reward for reopening your mini game from the TikTok profile sidebar.

Signature

public static void GetEntranceMissionReward(TTGetEntranceMissionRewardParam param)

Parameters

Field

Type

Description

Required

success

Action<TTGetEntranceMissionRewardResult>

Called when the API call succeeds. Check canReceiveReward in the result.

No

fail

Action<ErrorInfo>

Called when the API call fails.

No

complete

Action<GeneralCallbackResult>

Called after success or fail.

No

TTGetEntranceMissionRewardResult

Field

Type

Description

canReceiveReward

bool

Whether the player can receive the profile sidebar revisit reward. true if the player can receive the reward, false otherwise.

Example

TT.GetEntranceMissionReward(new TTGetEntranceMissionRewardParam
{
  success = result =>
  {
    if (result.canReceiveReward)
    {
      // Grant the reward in your game
    }
  },
  fail = error =>
  {
    // Handle the failure
  }
});

Tip: Test the complete reward flow on a device, including reopening the game from the profile sidebar.

TT.AddShortcut(param)

Prompts the player to add a shortcut to your mini game on their device's home screen.

Signature

public static void AddShortcut(Action<bool> csCallback, bool showToastTipsIfFailed = true)

Parameters

Field

Type

Description

Required

csCallback

Action<bool>

Called with the result. Receives true if the shortcut was added, false otherwise.

Yes

showToastTipsIfFailed

bool

Whether to show a toast message if adding the shortcut fails. Defaults to true.

No

Example

TT.AddShortcut(
  csCallback: added =>
  {
    if (added)
    {
      // Guide the player to reopen the game from the shortcut; don't grant a reward here
    }
  }
);

TT.GetShortcutMissionReward(param)

Claims the reward for adding a desktop shortcut.

Signature

public static void GetShortcutMissionReward(GetShortcutMissionRewardParam param)

Parameters

Field

Type

Description

Required

Success

Action<GetShortcutMissionRewardResult>

Success callback with reward info

No

Fail

Action<ErrorInfo>

Failure callback

No

Complete

Action

Completion callback

No

Example

TT.GetShortcutMissionReward(new GetShortcutMissionRewardParam
{
    Success = result => Debug.Log("Shortcut reward claimed"),
    Fail = error => Debug.LogError(error.ErrMsg),
    Complete = () => Debug.Log("Reward claim flow completed")
});
TikTok for Developers