WeChat Generate Video Share URL
Generate a shareable WeChat Channels video short link (weixin.qq.com/sph/…) from a known video object ID. Inputs: - request_body is required. - request_body.object_id is required: a string containing 1–32 digits, such as "14941130915890399732". Use the video id obtained from a video-list or video-detail lookup, not an account ID or share URL. - request_body.raw is optional and defaults to true. Set it to false for a simplified result or leave it true for the raw response. Result: - With raw=false, data.object_id echoes the input and data.share_url contains the generated share link. - With raw=true, the share link is in data.feedH5Url or in entries of data.urlList, where feedH5Url is the link and objectId identifies the video. The raw status code is in data.baseResponse.ret. - The link can be used for sharing or a video-detail lookup that accepts a share URL; it is not a video download URL. Input accepts one object ID per call. Responses may be slow. Set the calling client's request timeout to 30 seconds; timeout is not an input parameter of this tool.
Pricing
| Condition | Charge |
|---|---|
| Each call | 20.65 credits/call |
A fixed charge of 20.65 credits applies per call. Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 用于生成视频号作品分享短链的请求体:object_id 指定目标作品,raw 控制返回原始响应还是精简解析结构。 | — |
request_body.raw | boolean | No | True=原始响应;False=精简解析结构/True=raw response; False=simplified parsed structure | true |
request_body.object_id | string | Yes | 作品 objectId(纯数字)/Video objectId (numeric) | — |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-KeyThis example shows part of the response. Copied content is valid JSON.






