Register URIs for U Home-related event notifications

Technical Support
Technical Support
  • Updated

POST   Register Notification URL

https://api.u-tec.com/action

 

This interface is primarily used to register URIs for U Home-related event notifications, such as device change notifications and event reports.

access_token: When sending push notifications, essential valid authentication information is required. It is recommended that users periodically update this value to ensure connection security. For detailed usage instructions, refer to the Event Notification documentation

URL: The registered notification URI address supports only http:// and https:// protocols. When using https://, the SSL/TLS certificate must be obtained from a trusted Certificate Authority (CA).

 

Body raw (json)

{
    "header": {
        "namespace": "Uhome.Configure",
        "name": "Set",
        "messageId": "<Unique identifier, preferably a version 4 UUID>",
        "payloadVersion": "1"
    },
    "payload": {
        "configure": {
            "notification": {
                "access_token": "<access_token>",
                "url": "<notification_url>"
            }
        }
    }
}

 

Related to

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.