Q&A

Messaging API to enable "Use webhook"?

Hi,

Looks like completing Webhook setup in a new bot is broken into 2 steps,

  1. Set Webhook by API,
  2. Enable "Use Webhook" manually from Developer console

This is casuing confusion when we try to implement LINE bot setup from a 3rd party portal, after Webhook is set "successfully" from the 3rd party portal, one has to switch back to Developer console and enable "Use Webhook" from there.

Is there any API to enable "Use Webhook"?

  • 0
  • 2
  • 214
  • twitter facebook

@kyst

Not sure if I understood your post, but it is nothing to do with Developer Console incident.

After created a new Messaging API bot, in Developer console, the webhook URL is empty, "Use Webhook" toggle is not shown.

There is an option to enable Webhook on Official Account Manager even webhook URL is empty, but it doesn't take any effect, looks like a bug.

To enable webhook, I need to call set webhhok endpoint to set URL, once it is set, it will appear in Developer console, and "Use Webhook" toggle will appear but disabled, I need to enable it here manually.

So my question is, is there any way that I can enable "Use Webhook" by API? The manual step above is really annoyed.

  • 0

(the answer is same as https://www.line-community.me/ja/question/62c2f97256453b191e43eef7)

  • 0

Similar posts

    No similar posts

Are you sure? question.vm