Like most of the things, it depends on your intentions and how you use the API.
TikTok doesn't like spam bots and abusing their service, and the same goes for us. We don't allow any kind of service that has to do with abuse, spam or fake account interactions.
So as long as you don't do things you shouldn't do, you will be perfectly fine.