> Markdown version of https://tuna.am/en/docs/api/gateway-get/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Get a gateway by ID

get`/v1/gateways/{id}`

## Request

### Authorization

* **Authorization**stringheaderrequired

  Key in the format `Bearer <API-key>`. Create a key on the [API keys](https://my.tuna.am/api_keys) page.

### Path Parameters

* **id** integer\<int64>required

### Response

200application/json

* **created_at**string\<date-time>

  Creation date

  **domain** object

  **apex**boolean

  Apex domain: connected with A records only, without fault tolerance

  **created_at**string\<date-time>

  Creation date

  **dns_record**string

  Which record points the domain to us, according to the last DNS check

  **Possible values:** \[`A`, `CNAME`]

  **Example:&#x20;**`CNAME`

  **domain**string

  Domain

  **Example:&#x20;**`demo.ru.tuna.am`

  **domain_zone** object

  **domain**string

  Domain

  **Example:&#x20;**`corp.example.com`

  **has_tls_certificate**boolean

  Has a TLS certificate

  **id**integer\<int64>

  Zone ID

  **Example:&#x20;**`301`

  **location**string

  Location

  **Example:&#x20;**`ru`

  **has_status_log**boolean

  Has status history

  **has_tls_certificate**boolean

  Has an issued certificate

  **id**integer\<int64>

  Domain ID

  **Example:&#x20;**`42`

  **location**string

  Location: ru, nl, or global for a name in a cell zone, which doesn't need one

  **Possible values:** \[`ru`, `nl`, `global`]

  **Example:&#x20;**`ru`

  **managed_by**string

  Who manages the check status: server means the server, empty means the node. Set only in the domain list for a node

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **provisioned_by**string

  What created or modified the object: terraform means the Terraform provider, empty means another client

  **redirect_active**boolean

  A gateway with a redirect is running on the domain: visitors are already being redirected

  **redirect_to**string

  Subdomain the gateway will redirect the apex domain to after the DNS check

  **status**string

  Domain status

  **Possible values:** \[`unknown`, `dns_check`, `tls_check`, `dns_failed`, `tls_failed`, `dns_verified`, `tls_verified`, `verified`]

  **Example:&#x20;**`verified`

  **subdomain**string

  Subdomain

  **Example:&#x20;**`demo`

  **type**string

  Domain type

  **Possible values:** \[`dynamic`, `static`, `external`, `free`]

  **Example:&#x20;**`static`

  **id**integer\<int64>

  Gateway ID

  **Example:&#x20;**`42`

  **location**string

  Location

  **Possible values:** \[`ru`, `nl`, `global`]

  **Example:&#x20;**`ru`

  **node_revision**integer\<int64>

  Revision on the node

  **Example:&#x20;**`7`

  **owner** object

  **active**boolean

  Active flag

  **avatar_url**string

  Avatar

  **Example:&#x20;**`https://www.gravatar.com/avatar/00000000000000000000000000000000`

  **email**string

  Email

  **Example:&#x20;**`jane@example.com`

  **id**integer\<int64>

  Identifier

  **Example:&#x20;**`42`

  **name**string

  Name

  **Example:&#x20;**`Jane Doe`

  **role**string

  Role

  **Possible values:** \[`primary_owner`, `owner`, `admin`, `member`]

  **Example:&#x20;**`member`

  **policy**string

  Policy

  **provisioned_by**string

  What created or modified the object: terraform means the Terraform provider, empty means another client

  **request**string

  Request

  **revision**integer\<int64>

  Revision

  **Example:&#x20;**`7`

  **rules**integer\<int64>

  Number of rules

  **Example:&#x20;**`3`

  **updated_at**string\<date-time>

  Update date
