Hello!
Im trying to get a token from the following API: https://bots.kore.ai/api/1.1/oauth/token
but im getting this error:
{
“errors”: [
{
“msg”: “Validation errors/ Invalid arguments”,
“code”: 412
}
]
}
Its an HTTP POST, my only header is: Content-Type = application/json, the raw json im sending in the body is:
{
“client_id”: “cs-89755318-01aa-5d94-b4d6-xxxx”,
“client_secret”: “OcgwuWWOij3ej/GnYdQN4kduuLdXFVv6xxxx”,
“grant_type”: “client_credentials”,
“scope”: “all”
}
This is the setup i got from my Automation AI / Bot / Channel / Digital / Web Mobile client
Could you please help me as to how i need to get the token?
My objective is once i get the token, i would like to post a message from an external source to be displayed in my KORE.AI chatbot