临时票据作为用户访问API临时身份凭证。


请求地址请求方法
/oauth/ticket/clientPOST

请求参数

参数类型是否必填最大长度描述示例值
openidString32openid
client_secretString32客户端密钥
client_idString64客户端ID

返回示例

{
    "api_ticket": "R2ZCb3A1cEttSlRDM1krQkRMd0xyZ2thU0Z3VXU5TmR6MHdZWHBGYWdwNndPNnNyWmV6WERxN21YOWkwY3dGNWQzNk44R3pKTG84MmlndHhLSWo2NDVheWU4VHRJdXVRWEg0SStjMlIySjJ5R3k4WHh4YU8xSmdTZDRUVUdDOUliTnlZSGoxMkpsckpCeDhFUXIzNWxLV2QybFg1ZEE3QXEyellkN0RkUVVRQXlLaXM4cFMzUkVyKzN2OEM5dytjb3Q5U2ZPMnpOV3ZpWFpBODFGOWpMRytMd3ViV2xTNUFHd3FmVUhtenIveFYyUS9Jb3RmQ3ZhZHdzY0dGdzJZVWJIVW1od3BZUE1wWnhzMHp3SmxWOW9WT3BWQTUwZWRUUXRyaFNuZWQvNHF4Z0czOWNWbkRDcER2VGthQ01pWkFEMzZFZSs3Nk5MT0p2Z25mT0o5YzIvSzJkUFNYeURwMDgvdFFRSzRQYmVxMGExUHZUNm5rL3NTNy9hSzUwSFBUMjJFanB0YXlVNERQMUx6dU5GbG1Qei9PSFJ0Z0QzZUdqdWpFbFFjelVPQWJFQVFlYUl4SDlaTXRqOEEzd1ZySDNXeVF4YTJlVDc2eFBCdnI2TVlqSm9PMXdETU5pNVQ2bXljd0VrOWxuM2FDaTB3aEc3ODdUWmZ3NklpU0xaWjl6anh3SE5zZkpWRXJjMk1mdjQydDE0M05hcGtPSnVHUkdaWHZMU1Nma3hGUTh3dzc1TjBnVVE9PQ",
    "expires_in": 1709793012
}

返回参数说明

参数描述
api_ticket票据
expires_in有效时间