Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

WeChat Channels Video Share URL

Docs da 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.

Preço
$0.028571USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
WeChat Channels video objectId as a numeric string of up to 32 digits.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
WeChat Channels$0.028571 por chamadaJSON
WeChat Channels$0.071429 por chamadaJSON
WeChat Channels$0.021429 por chamadaJSON
WeChat Channels$0.071429 por chamadaJSON
WeChat Channels$0.114286 por chamadaJSON
WeChat Channels$0.01 por chamadaJSON

Guias:Best WeChat Channels API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API WeChat Channels Video Share URL?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/wechat-channels/video-share-url com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API WeChat Channels Video Share URL?

$0.028571 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API WeChat Channels Video Share URL aceita?

Obrigatórios: objectId (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API WeChat Channels Video Share URL retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor WeChat Channels ou de uma chave de API?

Não. WeChat Channels Video Share URL funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do WeChat Channels separadamente.