Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

WeChat Channels Video Share URL

เอกสาร API
https://api.sandbase.ai/v1/api/wechat-channels/video-share-url

Generates a share link for a WeChat Channels video identified by objectId. Use it to share a known Channels video or obtain its link for a subsequent lookup.

ราคา
$0.028571USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
WeChat Channels video objectId as a numeric string of up to 32 digits.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

WeChat Channels Video Share URL API

Returns a share link for a WeChat Channels video. It needs the video's objectId, a numeric string of up to 32 digits.

Use cases

  • Build a shareable link for a Channels video when you only store its objectId.
  • Add a clickable video link to a report or dashboard that tracks Channels content.
  • Check that an objectId resolves to a share link before you run other lookups on it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/wechat-channels/video-share-url" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"objectId": "14941130915890399732"}'

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

Parameters

NameTypeRequiredDescription
objectIdstringYesWeChat Channels video objectId as a numeric string of up to 32 digits.

Example response

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

{
  "baseResponse": {
    "errMsg": {
      "pbRequestMsgInfo": null,
      "string": ""
    },
    "pbRequestMsgInfo": null,
    "ret": 0
  },
  "debug_id": "0d40f417",
  "debug_info": "gAAAAABq6ZEtz42gcdCDHhDLWar9xy2VgLbbYPFgPXOAEtdZkXrXcdwRuKMG5f15jimcUeQld7nEBFAJ…",
  "feedH5Url": "https://weixin.qq.com/sph/Aci4tPzBEf",
  "pbRequestMsgInfo": null,
  "urlList": [
    {
      "feedH5Url": "https://weixin.qq.com/sph/Aci4tPzBEf",
      "objectId": 14941130915890399732,
      "pbRequestMsgInfo": null
    }
  ]
}

Response fields

FieldMeaning
feedH5UrlThe share link for the video. It is a weixin.qq.com/sph/ URL. The same value appears in urlList[].feedH5Url.
urlList[].feedH5UrlShare link for each requested video. The list holds one entry for the objectId you sent.
urlList[].objectIdThe video objectId that the link belongs to. It comes back as a number here, so large values may lose precision in some JSON parsers.
baseResponse.retStatus code of the call. The sample returns 0.
baseResponse.errMsg.stringError message text. It is an empty string in the sample response.
debug_id / debug_infoDebug values attached to the response. You do not need them to use the link.

Notes

  • Send objectId as a string, as in the request example. Read urlList[].objectId with a big-number safe parser, or match on the string you sent.
  • A newer version of this endpoint is available as WeChat Channels Video Share URL.
  • To get video details for the same objectId, call WeChat Channels Video Detail.

Pricing

$0.028571 per successful call. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
WeChat Channels$0.028571 ต่อการเรียกJSON
WeChat Channels$0.071429 ต่อการเรียกJSON
WeChat Channels$0.021429 ต่อการเรียกJSON
WeChat Channels$0.071429 ต่อการเรียกJSON
WeChat Channels$0.114286 ต่อการเรียกJSON
WeChat Channels$0.01 ต่อการเรียกJSON

คู่มือ:Best WeChat Channels API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ WeChat Channels Video Share URL API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/wechat-channels/video-share-url โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

WeChat Channels Video Share URL API ราคาเท่าไร?

$0.028571 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

WeChat Channels Video Share URL API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: objectId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

WeChat Channels Video Share URL API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ WeChat Channels ไหม?

ไม่จำเป็น WeChat Channels Video Share URL ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง WeChat Channels API แยกต่างหาก