Customer Service Interface-message sending interface call request description http Request Method: POSTapi. weixin. qq. comcgi-binmessagecustomsend? Access_tokenACCESS_TOKEN Please note that if you need to send a message with a customer service account (display in 6.0.2 or a later version... Customer Service Interface-send a message
API call request description
Http Request Method: POST
Https://api.weixin.qq.com/cgi-bin/message/custom/send? Access_token = ACCESS_TOKEN
Please note that if you need to send a message with a customer service account (the custom profile picture is displayed in 6.0.2 or later versions), you need to add the customservice parameter to the second half of the JSON data packet, for example, to send a text message, change:
{
"touser":"OPENID","msgtype":"text","text":{ "content":"Hello World"},"customservice":{ "kf_account": "test1@kftest"}
}
Multi-Customer Service has been added. Adding customservice is invalid and the specified customer service is not used. Has anyone used it? Please advise?
Find the solution:
Put customservice in front of the reply content
{
"touser":"OPENID","msgtype":"text","customservice":{ "kf_account": "test1@kftest"},"text":{ "content":"Hello World"}
}
I'm also drunk
Reply content:
Customer Service Interface-Send message
API call request description
Http Request Method: POST
Https://api.weixin.qq.com/cgi-bin/message/custom/send? Access_token = ACCESS_TOKEN
Please note that if you need to send a message with a customer service account (the custom profile picture is displayed in 6.0.2 or later versions), you need to add the customservice parameter to the second half of the JSON data packet, for example, to send a text message, change:
{
"touser":"OPENID","msgtype":"text","text":{ "content":"Hello World"},"customservice":{ "kf_account": "test1@kftest"}
}
Multi-Customer Service has been added. Adding customservice is invalid and the specified customer service is not used. Has anyone used it? Please advise?
Find the solution:
Put customservice in front of the reply content
{
"touser":"OPENID","msgtype":"text","customservice":{ "kf_account": "test1@kftest"},"text":{ "content":"Hello World"}
}
I'm also drunk