ThreatScore API V2
Tag a webhook
Name
Value
Name
Type
Description
{
"status": "success",
"message": "Endpoint successfully tagged."
}{
"error": "Invalid request"
}curl --location 'https://api.solidityscan.com/api-tag-webhook/' \
--header 'Authorization: Token <Your Token>' \
--header 'Content-Type: application/json' \
--data '{
"endpoint_url": "<Your EndPoint URL>",
"endpoint_headers": {
"api_key": "val_xyz"
}
}'import requests
import json
url = "https://api.solidityscan.com/api-tag-webhook/"
payload = json.dumps({
"endpoint_url": "<Your EndPoint URL>"
})
headers = {
'Authorization': 'Token <Your Token>',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)Initiate New Scan
Name
Value
Last updated