First of all, you need to know that the Tiktok UID is a string of numbers, not your account name @XXXX.
Source: TikTok screenshot
At some point you may need Tiktok UID to process some forms or docking items, but you can’t see it on the surface. Here are 2 ways to find them.
Method 1:
Enter your account URL in Google Chrome. For example, if you are @yyy, enter https://www.tiktok.com/@yyy. Then right-click and select View Webpage Source Code, or press ctrl+u. Then press ctrl+f to find //user/profile/ in it, and the string of numbers behind it is the tiktok uid.
Method 2:
Enter your account URL in Google Chrome, for example, if you are @yyy, enter https://www.tiktok.com/@yyy. Then right-click and select View Webpage Source Code, or press ctrl+u. Then press ctrl+f to find {“users”: in it, the string of numbers after it is the TikTok uid.
Source: TikTok screenshot