add documentation for registration via API