1. Home
  2. Docs
  3. API Documentation
  4. Discovery
  5. GetDiscovery

GetDiscovery

Route: https://api.cytrix.io/GetDiscovery

This feature will allow you to fetch and view a specific discovery scan.

Roles Required: Admin, User and Private User.

Request Syntax

{
    "apiKey": "String",
    "token": "String"

}

Request Parameters

Parameters being used in the Request

Parameter Name :

apiKey

Parameter Usage and Options :

Your CYTRIX given API Key.

How do I get it ? :

Located in the “Profile” section.

Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.

Type :

String

Is it Optional ? :

No.


Parameter Name :

token

Parameter Usage and Options :

The scan’s token.

How do I get it ? :

Simply use “GetAllDiscovery” function, or navigate to a certain scan’s page, and in the address bar, you will notice “token=String”, use that String.

Type :

String

Is it Optional ? :

No.


Successful Response


{
    "Error": 0,
    "Function": "GetDiscovery",
    "Data": [
        {
            "id": 11111,
            "subdomain": "www.example.com",
            "domain": "example.com",
            "date": "2024-12-11 12:35:01",
            "status_code": "200",
            "title": "example",
            "length": "8257",
            "ip": "xxx.xx.xx.xxx",
            "http": "False",
            "https": "True",
            "redirect_url": "https://example.com"
        }
}

Errors and their Possible Causes

For more information, please refer to the General Errors section.