Hi Team
I am trying to get the secure token using the below api.
curl --location --request POST 'https://{{bot-region}}.cloud.yellow.ai/api/plugin/encryptYmAuth' \
--header 'content-type: application/json' \
--header 'x-api-key: {{generate api key from platform}}' \
--data-raw '{
"ymAuthenticationToken": {{token}},
"botId": {{botId}}
}'
but i am getting the below error
{"success":false,"message":"Failed to encrypt","data":{}}
Please help if i am doing something wrong here