i need to make it automatically not manual and how to use API
Thanks