PHR Service API apps/generate/otp not sending email OTP

Hi @IntegrationSupport team,
PHR Service API: https://dev.abdm.gov.in/cm/v1/apps/generate/otp not sending the Email OTP on provided email. It’s returning 200 response code but OTP is not coming on email. We are using the below curl:
curl --location --request POST 'https://dev.abdm.gov.in/cm/v1/apps/generate/otp' \ --header 'Content-Type: application/json' \ --header 'Authorisation: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NzM4NzYxMzYsImlhdCI6MTY3Mzg3NTUzNiwianRpIjoiOGQ2ZGYxNTAtZTEyOS00ODQ4LTliYjktOWNmMjU3ZTk4ZWJiIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI4MjdjZWU0Zi1jMjVlLTQxNGQtOTAwNi1hZWExYzY4MWYzNDQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAxMTU2Iiwic2Vzc2lvbl9zdGF0ZSI6IjBlOGE5ZmEzLWUxMTctNDA1MS04N2JmLTg1MzQxYzU2Y2Y1MyIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhlYWx0aF9sb2NrZXIiLCJoaXAiXX0sInJlc291cmNlX2FjY2VzcyI6eyJTQlhfMDAxMTU2Ijp7InJvbGVzIjpbInVtYV9wcm90ZWN0aW9uIl19LCJhY2NvdW50Ijp7InJvbGVzIjpbIm1hbmFnZS1hY2NvdW50IiwibWFuYWdlLWFjY291bnQtbGlua3MiLCJ2aWV3LXByb2ZpbGUiXX19LCJzY29wZSI6Im9wZW5pZCBlbWFpbCBwcm9maWxlIiwiY2xpZW50SWQiOiJTQlhfMDAxMTU2IiwiY2xpZW50SG9zdCI6IjEwLjIzMy42Ny4yMzEiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsInByZWZlcnJlZF91c2VybmFtZSI6InNlcnZpY2UtYWNjb3VudC1zYnhfMDAxMTU2IiwiY2xpZW50QWRkcmVzcyI6IjEwLjIzMy42Ny4yMzEifQ.iL6ae6P_WDZItr3B9dyQRNyHdxy-s_LCzaAfi_ruyu1wPiyvjX31kO9GPfElLjuglTj2aoceAPIefWrp6Z68Mm_HKxvBDd4wtht1kwa5_kiWHc28CEHzprX0W83cHAEnyceQNUR0d6NxM8gqAI8XRY50uCRSFZ0awX5MKSiBrJsMAcQg23rGc2VLkC7b7Ke6dswBe4e0mO0zy9ithP70qtaUgSbd519Bxj9U9mIyPT9eaWb_zrThfVU-xmJPDRxaqCv6G9Fq2OFQjgOySVkeBtQxYtpJ268HmO3jx7TNO6FCntsYDajhbZIudkDV8_x7jhFyqp5f5FHCayPfSoxJaw' \ --header 'Cookie: TS011c04bd=01445fed04de12f1fef83056eb9a017b31483943faff4a67c61e5b1e0dbf3eb40863dd790612e11ca9aeb76c691545d91179807ff0' \ --data-raw '{ "value": "z29BB/21cUdfts06jEvHxYaR2LNUukNVjbaSSlP5G2jdyoWk2pN7duuVV203hn5MAXoJUx7+qwysSQHr0hYoPCiLL8x/4yJlihe/EJ+HfRtIcdXnWFmSOGxEMIDZTSo2kDhjUx8xcuHmT2Kp/gVVbh3DNujnpYIDO+G4oFBASTIW3ScyvhGVkMTz43KglGLAdJk+C5W1vUFppTEs2qLjEJ0VcYeZ5i9qqjn5Vd7Rg1M+uSXvqpKnOfbut2dv0+IdlXmXFesnT60fH9V0u4zGN5pLTuhlljVdJOU+oySkgX1F3ocwTFQg6zSURXcW24DEMXGDEWTalfTlRkwdZ5/m3Q==", "authMode": "EMAIL_OTP" }'


We are building the PHR application and blocked because of this. Please fix it as soon as possible.
Note: OTP is not coming even if use the sandbox’s website to create ABHA Address using Email.

@Govind_Deshmukh please help

please refer the resolution given in this devforum link. let us know if this helps.

@IntegrationSupport please look into the consent callback issue i’ve mentioned u in those threads .but no replies on them

1 Like

Hi @IntegrationSupport team,
I am facing issues in Email OTP while create ABHA address(PHR Address), thread gives information about APIs to logging in to ABHA address(if you already have). Please help us in Email OTP issue while creating ABHA address.

I am facing the same issue, please let me know how you resolved