Skip to main content
POST
/
api
/
ext
/
generic
/
dns
/
tcp-verifier
Verify TCP port connectivity
curl --request POST \
  --url https://app.spotzee.com/api/ext/generic/dns/tcp-verifier \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data domain_ip=example.com \
  --data port=443
{
  "status": "success",
  "data": {
    "connection": "success"
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use format: Bearer YOUR_API_KEY

Body

application/x-www-form-urlencoded
domain_ip
string
required

Domain name or IP address to verify

Example:

"example.com"

port
number
required

TCP port number to verify

Required range: 1 <= x <= 65535
Example:

443

Response

Successfully tested TCP connectivity

status
enum<string>
required
Available options:
success
data
object
required