How to automatically add Quickbooks redirect uri?

How can we automatically add the redirect URI in the Quickbooks auth using some API?

k