Please find below the cURL for outbound email notification api with all the necessary parameters.
Even when the API is giving success response, we are not receiving any email notification.
cURL -
curl --location --request POST 'https://cloud.yellow.ai/api/engagements/notifications/v2/push?bot=x1666274014901' \
--header 'Content-Type: application/json' \
--header 'x-api-key: Hidden' \
--data-raw '{
"userDetails": {
"email": "atharva.agrawal@yellow.ai"
},
"notification": {
"type": "email",
"sender": "agrawal.atharva1999@gmail.com",
"templateId": "email_otp"
}
}'
Request support here.