发送语音消息
# 发送语音消息
**简要描述**:
- 发送语音消息
**请求URL**
- {APIURL}/wc/msg/send_voice_msg
**请求方式**
- POST
**请求头Headers**
- Content-Type:application/json
- Access-Token:login接口返回
**参数**
|参数名|必选|类型|说明
|-|-|-|-|
|wcid|是|string|微信实例ID
|to_wx_ids|是|string|接收人微信号/群号
|content|是|string|silk/amr 格式,可以下载消息中的语音返回silk格式
|length|是|string|语音时长(回调消息xml数据中的voicelength字段) 单位毫秒
**返回数据**:
|参数名|类型|说明|
|-|-|-|
|code|string|0成功,-1失败|
|msg|string|反馈信息|
**请求参数示例**
```
{
"wcid": "1345345345353453",
"to_wx_ids": "fasdfa",
"content": "https://img.xingkonglian.net/img/1385631020790845440.m.silk",
"length": 20
}
```
**成功返回示例**
```
{
"msg": "ok",
"code": 0,
"data": null
}
```
**错误返回示例****
```
"msg": "失败",
"code": -1,
"data": null
}
```