Contents

GET /api/v1/weatherAlert/{language}/{id}

Receive an active weather alert.

URL

GET https://weatherkit.apple.com/api/v1/weatherAlert/{language}/{id}

Path Parameters

NameTypeDescription
id Requireduuid

The unique identifier for the weather alert.

language Requiredstring

The language tag to use for localizing responses.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
WeatherAlert

The request is successful. The weather alert is in the response.

400Bad Request

The server is unable to process the request due to an invalid parameter value.

401Unauthorized

The request isn’t authorized or doesn’t include the correct authentication information.

404Not Found

There’s no active alert for the specified unique identifier.

See Also

Obtaining weather alerts