Subscribe to Hazard Notifications
Subscribes an endpoint to your account's hazard notifications.
Subscribes an endpoint to your account's hazard notifications. Forecast alerts are available for locations worldwide, with alert levels set by the local climate. Lightning alerts (lightning detected nearby and the all clear) are sent only inside lightning detection coverage, which today is the Americas; saved locations report this as lightning_coverage.
Authorization
knoxApiToken Authorization<token>
Token-based authentication with required prefix "Token"
In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/notification-broker/subscribe/" \ -H "Content-Type: application/json" \ -d '{ "endpoint": "string" }'{ "id": 0, "topic_arn": "string", "subscription_arn": "string", "endpoint": "string", "protocol": "https", "confirmed": true, "created_at": "2019-08-24T14:15:22Z"}
