WeChat Customer Service Message sending interface specified Customer Service Message sending Problem

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.