Note: Please enter all relevant restriction and permit information for every event.

GET Alerts

Returns all alert notifications.

Request Information

https://az511.com/api/v2/get/alerts

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
Message

The alert details.

string
Notes

Additional alert details.

string
StartTime

The start time of the alert in Unix time. More information

integer
EndTime

The end time of the alert in Unix time. More information

integer
HighImportance

Whether the alert is flagged as high importance.

boolean
SendNotification

Whether the alert is disseminated over communication channels (SMS, Email, IVR).

boolean

Response Formats

JSON

Sample:
[
	{
		"Id": 524,
		"Message": "Interstate 10 westbound lanes are to be restricted from Baseline to Elliot roads",
		"Notes": "<p dir=\"ltr\">PHOENIX &ndash;&nbsp;The westbound lanes of Interstate 10 are scheduled to be restricted from 1 p.m. to 4 p.m. today between Elliot and Baseline roads for pavement repairs, according to the Arizona Department of Transportation.&nbsp;</p>\r\n\r\n<p dir=\"ltr\">HOV, left and center lanes are closing to allow crews to make repairs.</p>\r\n\r\n<p>Motorists are advised to expect delays and to use alternate routes, including Loop 202 South Mountain. Drives can bypass I-10 westbound by exiting onto L-202 and traveling west and north to reconnect with I-10 at 59th Avenue.</p>\r\n\r\n<p dir=\"ltr\">&nbsp;Real-time highway conditions are available on ADOT&rsquo;s Arizona Traveler Information site at <a data-saferedirecturl=\"https://www.google.com/url?q=http://az511.gov/&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNHpqlzHoq8MzDFccU4LvpDk2CdfPA\" href=\"http://az511.gov/\" target=\"_blank\">az511.gov</a>, by calling 511 and through ADOT&rsquo;s Twitter feed,<a data-saferedirecturl=\"https://www.google.com/url?q=https://twitter.com/ArizonaDOT&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNH9G-5S2CN31gSqZWUYUGZ9uB8LCw\" href=\"https://twitter.com/ArizonaDOT\" target=\"_blank\">@ArizonaDOT</a>. When a freeway closure or other major traffic event occurs, our free app available at <a data-saferedirecturl=\"https://www.google.com/url?q=http://adotalerts.com/&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNGhZV_RxWAy5vKpzTIxp_F8CgvExg\" href=\"http://adotalerts.com/\" target=\"_blank\">ADOTAlerts.com</a> will send critical information directly to app users in affected areas &ndash; where possible, in advance of alternate routes.</p>\r\n\r\n<p dir=\"ltr\">&nbsp;# #</p>\r\n<br />\r\n&nbsp;",
		"StartTime": 1580761320,
		"EndTime": 1580847660,
		"HighImportance": true,
		"SendNotification": true
	}
]

XML

Sample:
<AlertsList>
	<Alerts>
		<Id>524</Id>
		<Message>
			Interstate 10 westbound lanes are to be restricted from Baseline to Elliot roads
		</Message>
		<Notes>
			<p dir="ltr">PHOENIX &ndash;&nbsp;The westbound lanes of Interstate 10 are scheduled to be restricted from 1 p.m. to 4 p.m. today between Elliot and Baseline roads for pavement repairs, according to the Arizona Department of Transportation.&nbsp;</p> <p dir="ltr">HOV, left and center lanes are closing to allow crews to make repairs.</p> <p>Motorists are advised to expect delays and to use alternate routes, including Loop 202 South Mountain. Drives can bypass I-10 westbound by exiting onto L-202 and traveling west and north to reconnect with I-10 at 59th Avenue.</p> <p dir="ltr">&nbsp;Real-time highway conditions are available on ADOT&rsquo;s Arizona Traveler Information site at <a data-saferedirecturl="https://www.google.com/url?q=http://az511.gov/&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNHpqlzHoq8MzDFccU4LvpDk2CdfPA" href="http://az511.gov/" target="_blank">az511.gov</a>, by calling 511 and through ADOT&rsquo;s Twitter feed,<a data-saferedirecturl="https://www.google.com/url?q=https://twitter.com/ArizonaDOT&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNH9G-5S2CN31gSqZWUYUGZ9uB8LCw" href="https://twitter.com/ArizonaDOT" target="_blank">@ArizonaDOT</a>. When a freeway closure or other major traffic event occurs, our free app available at <a data-saferedirecturl="https://www.google.com/url?q=http://adotalerts.com/&amp;source=gmail&amp;ust=1580847127490000&amp;usg=AFQjCNGhZV_RxWAy5vKpzTIxp_F8CgvExg" href="http://adotalerts.com/" target="_blank">ADOTAlerts.com</a> will send critical information directly to app users in affected areas &ndash; where possible, in advance of alternate routes.</p> <p dir="ltr">&nbsp;# #</p> <br /> &nbsp;
		</Notes>
		<StartTime>1580761320</StartTime>
		<EndTime>1580847660</EndTime>
		<HighImportance>true</HighImportance>
		<SendNotification>true</SendNotification>
	</Alerts>
</AlertsList>