API response rules