Migrating to our new API
Created based on feedback from our partners, our new API follows industry standards including OAuth 2.0 and provides an improved integration experience.
Our new API is hosted at
open.tiktokapis.com. Learn more about our new API endpoints:
New Request and Response Format
Users need to pass the access token returned from the authorization step to successfully call our APIs. The access token must be put into
Authorization header with
Bearer type. We no longer require
open_id for request authentication.
GET requests may have query parameters but no request body is allowed.
fields should be provided as a query parameter. All other parameters should be placed in the request body in JSON format.
Please refer to the documentation for each individual API for detailed information about the request format.
New APIs will return different
5xx HTTP status in the response, with the name of the error and an error message in the response body. For a complete list of HTTP status and error names, please refer to our new API Error Handling documentation.