临时票据作为用户访问API临时身份凭证。
请求地址 | 请求方法 |
/oauth/ticket/client | POST |
请求参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 | 示例值 |
openid | String | 是 | 32 | openid | |
client_secret | String | 是 | 32 | 客户端密钥
| |
client_id | String | 是 | 64 | 客户端ID | |
返回示例
{
"api_ticket": "R2ZCb3A1cEttSlRDM1krQkRMd0xyZ2thU0Z3VXU5TmR6MHdZWHBGYWdwNndPNnNyWmV6WERxN21YOWkwY3dGNWQzNk44R3pKTG84MmlndHhLSWo2NDVheWU4VHRJdXVRWEg0SStjMlIySjJ5R3k4WHh4YU8xSmdTZDRUVUdDOUliTnlZSGoxMkpsckpCeDhFUXIzNWxLV2QybFg1ZEE3QXEyellkN0RkUVVRQXlLaXM4cFMzUkVyKzN2OEM5dytjb3Q5U2ZPMnpOV3ZpWFpBODFGOWpMRytMd3ViV2xTNUFHd3FmVUhtenIveFYyUS9Jb3RmQ3ZhZHdzY0dGdzJZVWJIVW1od3BZUE1wWnhzMHp3SmxWOW9WT3BWQTUwZWRUUXRyaFNuZWQvNHF4Z0czOWNWbkRDcER2VGthQ01pWkFEMzZFZSs3Nk5MT0p2Z25mT0o5YzIvSzJkUFNYeURwMDgvdFFRSzRQYmVxMGExUHZUNm5rL3NTNy9hSzUwSFBUMjJFanB0YXlVNERQMUx6dU5GbG1Qei9PSFJ0Z0QzZUdqdWpFbFFjelVPQWJFQVFlYUl4SDlaTXRqOEEzd1ZySDNXeVF4YTJlVDc2eFBCdnI2TVlqSm9PMXdETU5pNVQ2bXljd0VrOWxuM2FDaTB3aEc3ODdUWmZ3NklpU0xaWjl6anh3SE5zZkpWRXJjMk1mdjQydDE0M05hcGtPSnVHUkdaWHZMU1Nma3hGUTh3dzc1TjBnVVE9PQ",
"expires_in": 1709793012
}
返回参数说明
参数 | 描述 |
api_ticket | 票据 |
expires_in | 有效时间 |