Phishing Hunter API (1.0)

Download OpenAPI specification:Download

scanner

スキャン対象のドメイン一覧の取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "domains": [
    ]
}

スキャン対象のドメインの追加

Authorizations:
custom_authorizer
Request Body schema: application/json
domain
string

Responses

Request samples

Content type
application/json
{
  • "domain": "www.google.com"
}

Response samples

Content type
application/json
{
  • "result": true
}

スキャン対象のドメイン一覧の削除

Authorizations:
custom_authorizer
Request Body schema: application/json
domain
string

Responses

Request samples

Content type
application/json
{
  • "keywords": [
    ],
  • "target_score": 100,
  • "webhook_url": "https://xxxx"
}

Response samples

Content type
application/json
{
  • "result": true
}

hunting

ハンティング設定の取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "keywords": {
    },
  • "target_score": 100
}

ハンティング設定の更新

Authorizations:
custom_authorizer
Request Body schema: application/json
object
target_score
integer

Responses

Request samples

Content type
application/json
{
  • "keywords": {
    },
  • "target_score": 100
}

Response samples

Content type
application/json
{
  • "result": true
}

observation

監視対象ドメイン一覧の取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "observation_urls": {
    }
}

監視対象ドメインの追加

Authorizations:
custom_authorizer
Request Body schema: application/json
url
string
interval
string
period
integer
comment
string
expire
integer
object

Responses

Request samples

Content type
application/json
{
  • "interval": "hour",
  • "period": 1,
  • "comment": "",
  • "expire": 1671580800,
  • "api_config": {
    }
}

Response samples

Content type
application/json
{
  • "message": "string"
}

監視対象ドメインの削除

Authorizations:
custom_authorizer
Request Body schema: application/json
url
string

Responses

Request samples

Content type
application/json

Response samples

Content type
application/json
{
  • "message": "string"
}

settings

通知設定の一覧を取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "hunting": {
    },
  • "observation": {
    }
}

通知設定の更新

Authorizations:
custom_authorizer
Request Body schema: application/json
type
string
webhook_url
string
service
string

Responses

Request samples

Content type
application/json
Example
{
  • "type": "email",
  • "webhook_url": "",
  • "service": "hunting"
}

Response samples

Content type
application/json
{
  • "result": true
}

外部サービス設定の取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "api_keys": {
    }
}

外部サービス設定の更新

Authorizations:
custom_authorizer
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "api_keys": {
    }
}

Response samples

Content type
application/json
{
  • "result": true
}

user

ユーザ情報の取得

ユーザを識別するための情報とAPI利用状況を返す

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "quota": {
    },
  • "user_plan": "free"
}

APIキーの一覧を取得

Authorizations:
custom_authorizer

Responses

Response samples

Content type
application/json
{
  • "api_keys": { }
}

APIキーの作成

Authorizations:
custom_authorizer
Request Body schema: application/json
description
string
ip
Array of strings
scope
Array of strings

Responses

Request samples

Content type
application/json
{
  • "description": "test api key",
  • "ip": [
    ],
  • "scope": [
    ]
}

Response samples

Content type
application/json
{
  • "api_key": "pk_xxxxxxxxxxxxxxxxxxxxxxx"
}

APIキーの削除

Authorizations:
custom_authorizer
Request Body schema: application/json
api_key
string

Responses

Request samples

Content type
application/json
{
  • "api_key": "string"
}

Response samples

Content type
application/json
{
  • "message": "api key deleted"
}