I think you want to take a look at this page for pulling subscription data and this page for auto following a subbed channel.
The last page is some topic i created because i’m quite new to working with api’s myself and i was having some trouble with a follow button. This code could help you achieve auto following a subbed channel. Make sure you don’t make the same mistake tho 