Long term access token and login with WhatsApp flow issue

Hello, In general I’ve been loving the Upstox api.
But there is one major issue, that is the access token flow. and this is a big hindrance in implementing my strategies and this could be the make or break situation for staying with uptox. is there a workaround for this, to stay logged in with my own account?

Also, the Whatsapp flow doesn’t seem to be triggering the webhook despite approving the request. Why is this?

{
“status”: “success”,
“data”: {
“authorization_expiry”: “1751752800000”,
“notifier_url”: “https://xxxx.com/webhook/0cef809f-3e5c-4f1d-8ad6-4d2xxxxx
}
}

Hi @Muralidhar_49568734,The access token is valid for a single day and expires at 3:30 AM. Once it expires, you will need to regenerate a new token.

This should trigger a WhatsApp message. Are you able to see the approve and reject requests in the “My Apps” section?

Thanks!

Hi Ketan, thanks for your response.
Have approved it within the time limit, yet I don’t see any calls on the provided webhook. Guess this must be some firewall outbound rule on your server.

That could be the case. Could you please share your webhook endpoint so we can check with our security team if it can be whitelisted?

1 Like

Can I DM you the endpoint. I cant find an option to initiate the message.

Found & sent the DM, please try to address this asap. thank you!

@Muralidhar_49568734

The mentioned URL has been whitelisted.
Thanks!

Hi Ketan, I am also not receiving the post request on the notifier webhook url. The token request is being initiated correctly from my side, I am receiving notification on WhatsApp, I am approving it within time, but not receiving the request on webhook. I have verified that my endpoint is active and any IP/request is not blocked on that. Can you please verify and whitelist my URL.