Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Douyin Direct Message Deep Link

APIドキュメント
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-send-private-message

Generates a Douyin deep link to open the mobile application directly to a user conversation. Requires the target user's uid and sec_uid to return a shortened URL.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 2 件 · 任意 0 件

プレイグラウンド

入力
User sec_uid
User id
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Douyin Direct Message Deep Link API

Returns a short Douyin link that opens the Douyin mobile app to a private message conversation with a given user. It needs the target user's uid and sec_uid.

Use cases

  • Add a "Message us on Douyin" button to a website that opens the brand's chat in the app.
  • Put a chat link in a customer support email or QR code so users reach your Douyin account in one tap.
  • Build outreach tools that give each creator a ready-to-use direct message link.
  • Generate message links in bulk for a list of accounts you already track.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-send-private-message" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_", "uid": "92769419069"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_uid
uidstringYesUser id

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
  "short_url": "https://v.douyin.com/mA8jwqgb6sA/",
  "status": "success",
  "uid": "92769419069"
}

Response fields

FieldMeaning
short_urlShortened v.douyin.com link. Opening it on a phone with Douyin installed launches the app to the conversation with the target user.
statusResult of the call. The value success means the link was created.
uidThe user id you sent, echoed back in the response.
sec_uidThe user sec_uid you sent, echoed back in the response.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON

ガイド:Best Douyin API in 2026: Pricing Compared

質問

FAQ

Douyin Direct Message Deep Link API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-send-private-message に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Douyin Direct Message Deep Link API の料金はいくらですか?

1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Douyin Direct Message Deep Link API はどのパラメータを受け付けますか?

必須: sec_uid (string) と uid (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Douyin Direct Message Deep Link API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Douyin の開発者アカウントまたは API key は必要ですか?

いいえ。Douyin Direct Message Deep Link は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。