---
title: "Get External Port"
method: GET
path: "/v1/accounts/{account_id}/external_ports/{id}"
tags: ["Reseller"]
---

# Get External Port

`GET /v1/accounts/{account_id}/external_ports/{id}`

## Request

- Base URL: `https://api.huntress.io`
- URL: `https://api.huntress.io/v1/accounts/{account_id}/external_ports/{id}`
- Auth: `basic` (a scheme the document does not define)

Shows details on a single external port record associated with your account.

## Path parameters

- `account_id` integer, required
- `id` integer, required

## Response `200`

Get External Port

- object
  - `external_port` ExternalPort: ExternalPort model
    - `id` integer: A unique identifier for an external port record.
    - `ip_address` string: The public IPv4 address associated with this external port.
    - `port` integer: The port number.
    - `protocol` string: The transport protocol (usually TCP or UDP).
    - `service` string: The service or application detected on the port.
    - `risky_service` boolean: Whether the detected service is considered risky.
    - `last_scan_at` string, date-time: Timestamp of the last Huntress scan, formatted as per ISO-8601.
    - `last_external_scan_at` string, date-time: Timestamp of the last external scan, formatted as per ISO-8601.
    - `organization_ids` unknown[]: IDs of organizations associated with this external port that are accessible to the current user.
      - unknown

## Other responses

- `403`: There was an issue with your API credential or permissions.

---

[API](https://skmtc.dev/huntress/apis/huntress-api-reference.md) - [All operations](https://skmtc.dev/huntress/apis/huntress-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/huntress/apis/huntress-api-reference/revisions/f593a257b4cc?raw)
