The API can only be used by users with admin-level access rights. It is not available for sub-account users.