Pirate Tok
Docs/TikTok protocol/Shop & messaging/Shop IM Token Bootstrap Yields API And WS Targets
strong-evidencehigh

Shop IM Token Bootstrap Yields API And WS Targets

Claim

The native POST /api/v1/shop_im/buyer/user/get_token route is a bootstrap step that returns both the HTTP API target and websocket target for follow-on buyer-side OEC IM traffic.

Status

  • certainty: strong-evidence
  • confidence: high

Why This Is Supported

  • repeated captures preserve data.token_info.api_url="https://oec-im-tt-i18n.tiktokglobalshopv.com/"
  • repeated captures preserve data.token_info.ws_url="wss://frontier.tiktokv-eu.com/ws/v2"
  • the observations also preserves follow-on requests to POST /v1/message/get_by_user on the returned api_url host

Why This Matters

  • it separates native OEC buyer IM transport from the webcast websocket family
  • it provides a concrete bootstrap chain rather than treating the shop-IM host as an unexplained side effect
  • it gives a clean place to hang future protobuf decoding work for the returned IM surfaces