Skip to main content

Get Config

GET 

/api/tiktok-shop/config

Returns the public OAuth config for the requested environment: app_key, redirect_url, webhook_callback_url, and available_environments.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

available_environments reports, per environment (production, sandbox), whether this server has both the TikTok Shop app key and app secret configured. An environment reported as false cannot be connected here; OAuth Init returns 422 for it.

Query: environment (sandbox|production, default sandbox). Production servers always use production.

Requires Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type