How to set kik bot webhook

人盡茶涼 提交于 2019-12-02 09:26:13

You need to use a POST and not a GET. I used Postman. After setting Basic Auth header with your bot username and API key, then Content-type header to "application/json", I changed the body type to "raw" and just entered in the json data I wanted my config to be:

{
  "webhook": [your webhook url here],
  "features": {
    "receiveReadReceipts": false,
    "receiveIsTyping": false,
    "manuallySendReadReceipts": false,
    "receiveDeliveryReceipts": false
  }
}

When I sent the request, the response had my config data returned in the response. This also worked when I needed to change one of the config parameters. Hope this helps.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!