E
E
edwardblake2019-07-23 15:03:32
Laravel
edwardblake, 2019-07-23 15:03:32

How to make URL for Webhook?

Hello

{[поля авторизации REST,] "action": "webhook.subscribe", "hooks": {"call.start": "https://mysite/myurl", "call.answer": "https://mysite/myurl", "call.finish": "https://mysite/myurl?myparam=value"}}
such events come in the API connection via webhook, so the question is what should I do with the URL and where should I specify it, and what should this url do for me? c API, I just pulled out the data, but here it turns out that I need to instantly pull out the data and I don’t understand how to do this at all? does anyone have any examples of how you did it? or ideas, WHEN performing an action should produce such a result
{"webhook": {"action": "call.start", "account_id": "1", "account_name": "test", "user_id": "2", "user_login": "[email protected]"}, "event": [данные события]}
I did webhooks through test sites but did not understand how to do it on Laravel

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
getbackmyself, 2019-08-07
@getbackmyself

I think it will help you - https://laravel.com/docs/5.8/queues

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question