Just make the members that you want to be part of your API public and the ones that aren't supposed to be accessible private. Documentation is preferable if you're writing something for others to use.

well this API is private but I guess documentation will need to be written for the person contracting me though hopefully the api should be a mere footnote at the bottom of my server development report