# Network interface details

`GET /v1/service/@id/vms/@vmid/interfaces/@iface` · scope `services:read`

Details of one network interface of the virtual machine.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/@id/vms/@vmid/interfaces/@iface` |
| Method | `GET` |
| Scope | `services:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | Service ID |
| `vmid` | path | string | yes | Virtual machine ID |
| `iface` | path | string | yes | Network interface name or number, e.g. `0` or `net0` |

## Example request

```bash
curl "https://api.tino.vn/v1/service/100001/vms/600001/interfaces/net0" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `services:read`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.vms.get_interface(id, vmid, iface)`, Node.js `await client.vms.getInterface(id, vmid, iface);`, PHP `$client->vms->getInterface($id, $vmid, $iface);`.

## Example response

```json
[]
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
