Customer Service interface-Send message
Interface Invocation Request Description
HTTP request mode: POST
Https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
Note that if you need to send a message with a customer service account (a custom avatar appears in 6.0.2 and above), you need to include the Customservice parameter in the second half of the JSON packet, such as sending a text message instead:
{
"touser":"OPENID","msgtype":"text","text":{ "content":"Hello World"},"customservice":{ "kf_account": "test1@kftest"}
}
Multi-service has been added, add customservice invalid, no use of designated customer service. Has anyone ever used it, ask for advice?
Find a solution:
Customservice put in front of reply content
{
"touser":"OPENID","msgtype":"text","customservice":{ "kf_account": "test1@kftest"},"text":{ "content":"Hello World"}
}
I'm drunk, too.
Reply content:
Customer Service interface-Send message
Interface Invocation Request Description
HTTP request mode: POST
Https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN
Note that if you need to send a message with a customer service account (a custom avatar appears in 6.0.2 and above), you need to include the Customservice parameter in the second half of the JSON packet, such as sending a text message instead:
{
"touser":"OPENID","msgtype":"text","text":{ "content":"Hello World"},"customservice":{ "kf_account": "test1@kftest"}
}
Multi-service has been added, add customservice invalid, no use of designated customer service. Has anyone ever used it, ask for advice?
Find a solution:
Customservice put in front of reply content
{
"touser":"OPENID","msgtype":"text","customservice":{ "kf_account": "test1@kftest"},"text":{ "content":"Hello World"}
}
I'm drunk, too.