GET
/
ports
/
{id}
curl --request GET \
  --url https://api.terminal49.com/v2/ports/{id} \
  --header 'Authorization: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "attributes": {
      "name": "<string>",
      "code": "<string>",
      "state_abbr": "<string>",
      "city": "<string>",
      "country_code": "<string>",
      "time_zone": "<string>",
      "latitude": 123,
      "longitude": 123
    },
    "type": "port"
  }
}

Authorizations

Authorization
string
header
required

Token YOUR_API_TOKEN

The APIs require authentication to be done using header-based API Key and Secret Authentication.

API key and secret are sent va the Authorization request header.

You send your API key and secret in the following way:

Authorization: Token YOUR_API_KEY

Path Parameters

id
string
required

Response

200 - application/json
OK
data
object