Hi,
I've created an agent on "DialogFlow ES". The agent was called "AgenteEU2VideojuegosMadrid". We're using EU-WS region. Also, we connect the agent with "campus-videojuego-teya" project.
But.. we can't access to this agent by API. We're trying to call it from Google Cloud Terminal.
request.json allocated on home/contratacion
curl API error
We have created a service user. We have given all access to the user.
Any idea?
Thanks!
Hi @Alisys, the only way you can consume the external API for Dialogflow ES, is by using it with OAUTH2.0 protocol.
https://cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/projects/getAgent
Kindly check
GET //
https://dialogflow.googleapis.com/v2beta1/projects/$projectid/agent
Authorization Bearer $oauth2.0Token
Also remember to create the auth token with the correct scope, also the refresh token.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |