API - Basic API calls

The member_id is coming from the token db entry. That means it was validated during authentication. If the function returns member_id, it should exist already.