I want to use custom events in Dialogflow to invoke an event (Welcome event) from my ionic application. I need to call an end point as described in link, I am calling the same from postman but getting error below -
{
"code": 401,
"status": "UNAUTHENTICATED",
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project."
}
I am putting correct access token, projectId, Intent id of my agent. Please let me know, If there are other way to call Dialogflow welcome event from Ionic app. It would be great.