Playground

Pick a public endpoint, fill in the params, and grab the generated curl. The Send button does a best-effort browser fetch — during the Beta the public gateway's CORS isn't fully open yet, so if a call is blocked, just paste the curl into your terminal.

POST/v1/creative/assetsView docs

AssetService.UploadAsset

Upload an asset

IdentityUserOrgCredentialsOAuth 2.0API KeyScopescreative:write
project_idstring

所属项目 ID。

filenamestring

原始文件名。

content_typestring

MIME 类型,例如 "image/png"、"video/mp4"。

datastring

文件二进制数据。

metadataobject

扩展元数据。

Array (JSON) — paste a JSON array directly.

wechat_mp_credentialsobject

微信公众号 API 调用凭证。 当 server 需要把素材上传到微信公众号素材库时必填(图片 / 视频 / 缩略图)。 详见 WechatMpCredentials 设计说明(types.proto)。

app_idstring

微信公众号 AppID(形如 "wxbd099e0f2e27cca4",18 位)。

app_secretstring

微信公众号 AppSecret(32 位十六进制)。**敏感字段,禁止落日志**。

curl -X POST 'https://api.appforges.com/v1/creative/assets' \
  -H 'Content-Type: application/json' \
  -d '{
  
}'

Send a request to see the response.

No calls in this tab yet.