npub1z2qdmfzhs2uwg8kmsh37xavt2hq48gch63e787ggd3s6mt8waxgsxu3yuf (npub1z2q…3yuf) Easiest I guess easiest would be to pick an API library in a language you like, then read their docs
Maybe one of these https://docs.joinmastodon.org/client/libraries/
Possibly easier would be to steal the session cookie or auth token or whatever (you can figure it out with dev tools) and then hook that into curl or whatever