Closed bluebrown closed 6 months ago
Currently webhook events are received at /events and the channel name is present as a query parameter in the URL.
webhook events
/events
channel name
query parameter
Query parameters are generally used for optional parameters. So, we want to switch to path parameters.
path parameters
Webhook events should be received at /events/<channel-name>.So, the channel name will be present as path parameter instead.
/events/<channel-name>
path parameter
[!NOTE] The query parameter option will still be available for backwards compatibility, but it'll be marked as deprecated.
Issue description
Currently
webhook events
are received at/events
and thechannel name
is present as aquery parameter
in the URL.Query parameters are generally used for optional parameters. So, we want to switch to
path parameters
.Webhook events should be received at
/events/<channel-name>
.So, thechannel name
will be present aspath parameter
instead.