cURL
curl -X GET "https://api.sitespy.app/api/v1/notifications" \
-H "x-api-key: YOUR_API_KEY"import requests
headers = {'x-api-key': 'YOUR_API_KEY'}
response = requests.get('https://api.sitespy.app/api/v1/notifications', headers=headers)
print(response.json())
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notification_urls": [
"<string>"
]
}Notifications
Get notification URLs
Return the notification URL list from the configuration
GET
/
notifications
cURL
curl -X GET "https://api.sitespy.app/api/v1/notifications" \
-H "x-api-key: YOUR_API_KEY"import requests
headers = {'x-api-key': 'YOUR_API_KEY'}
response = requests.get('https://api.sitespy.app/api/v1/notifications', headers=headers)
print(response.json())
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"notification_urls": [
"<string>"
]
}
