PUT
Reporting a new phishWARNING
v2 API is still in beta, there may be breaking changes at any time. It is recommended you keep updated with the #v2-api-betaopen in new window channel in Discord for updates and announcements.
Used to submit a new phish to Phisherman. Note that all reports are reviewed manually before any new domains are added to Phisherman.
🔒 Auth Token: Required
🔑 API Permission Required: API.READ
The URL for this endpoint is:
https://api.phisherman.gg/v2/phish/report
Required Parameters
Name | Type | Description |
---|---|---|
url | string | The full url of the phish you wish to report |
Example Requests
curl -L -X PUT "https://api.phisherman.gg/v2/phish/report" \
-H "Authorization: Bearer <API-KEY>" \
-H "Content-Type: application/json" \
--data-raw "{
\"url\":\"https://internetbadguys.com/some-scam\"
}"
1
2
3
4
5
6
2
3
4
5
6
var myHeaders = new Headers();
myHeaders.append("Authorization", "Bearer <API-KEY>");
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({
"url": "https://internetbadguys.com/some-scam"
});
var requestOptions = {
method: 'PUT',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.phisherman.gg/v2/phish/report", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import http.client
import json
conn = http.client.HTTPSConnection("api.phisherman.gg")
payload = json.dumps({
"url": "https://internetbadguys.com/some-scam"
})
headers = {
'Authorization': 'Bearer <API-KEY>',
'Content-Type': 'application/json'
}
conn.request("PUT", "/v2/phish/report", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Example Response
HTTP2/201
{
"success": true,
"message": ""
}
1
2
3
4
5
2
3
4
5