get_state_emergencies tool returns all states currently under emergency declarations that restrict telemarketing calls. Some states prohibit or restrict telemarketing during declared emergencies such as natural disasters.
When to Use
- Checking for active emergencies before campaigns
- Real-time compliance monitoring
- Disaster response awareness for call centers
Parameters
API key. Only required if not provided via the
x-dncscrub-api-key HTTP header.Response
Whether the API call succeeded.
List of all states with their emergency status.
List of state codes currently under emergency restrictions.
true if any state has active emergency restrictions.Machine-readable error code (when failed).
Human-readable error description (when failed).
Examples
- Request
- No Emergencies
- Active Emergency
Usage Notes
- Check regularly during disaster seasons (hurricane, wildfire, etc.)
- Emergency restrictions can be declared and lifted quickly
- Use
emergencyStatesarray for quick filtering - The
hasActiveEmergenciesflag provides a quick check if any restrictions exist - For real-time compliance,
is_time_legal_to_callautomatically accounts for emergencies