Send a test Telegram message
curl --request POST \
--url https://api.sitespy.app/api/v1/telegram/test \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/telegram/test"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/telegram/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "Test message sent"
}Telegram Notifications
Send a test Telegram message
Send a test notification to verify Telegram is configured correctly.
POST
/
telegram
/
test
Send a test Telegram message
curl --request POST \
--url https://api.sitespy.app/api/v1/telegram/test \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/telegram/test"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/telegram/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"message": "Test message sent"
}
