Hi
Thanks to the courtesy of one of the users, he helped me do the integration so that after the API I would send push notifications in the SmartThings application, everything works fine.
I have a question, how can I customize such a code so that a notification is sent only to a specific user? (on his private smartphone with the SmartThings app)
The code I have is:
URL: https://api.smartthings.com/notification
Method: POST
Content Type: JSON (default)
Body:
{
"locationId": "MY ID LOC",
"type": "ALERT",
"title": "Hello",
"message": "World"
}
Headers
Authorization
: Bearer MY API CODE