Using Follow API to intergrate with existing site feature

I already have “following” set up on my site (using WordPress and Ultimate Member), is there an API for this so I can integrate the two?

You can probably work it out from here (if in doubt, always look at the source code! :wink: ):

(btw, should that “follow” be a GET?! :eyes: But on that subject, fun debate here )