# Hosting email accounts

`GET /v1/service/@id/emails` · scope `services:read`

Email accounts on the service's cPanel hosting (`listentrys`).

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/@id/emails` |
| 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 | integer | yes | Service ID |
| `Name` | undefined | Type | no | Description |
| `---` | undefined | --- | no | --- |
| `module` | query | string | yes | Service type module (Cpanel2\|DirectAdmin2\|Zimbra\|Wilduck) |

## Example request

```bash
curl "https://api.tino.vn/v1/service/100001/emails" \
  -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.services.list_email_accounts(id)`, Node.js `await client.services.listEmailAccounts(id);`, PHP `$client->services->listEmailAccounts($id);`.

## Example response

```json
{
 "success": true,
 "listentrys": null
}
```

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