Is there a way to set webhook headers by code?
I'd like to send an authorization header to the fulfillment webhook but I need to set it dynamically from code (using nodejs)
Is there a way to set webhook headers by code?
I'd like to send an authorization header to the fulfillment webhook but I need to set it dynamically from code (using nodejs)
Currently, you could pass a header via webhookHeaders
of the QueryParameters
object. It's available from v2beta1
version. Check it out https://cloud.google.com/dialogflow/docs/reference/rest/v2beta1/QueryParameters