# sinch sip

Manage Elastic SIP Trunking (EST) resources: trunks, endpoints, ACLs, calls, countries, and credential lists. See [Elastic SIP Trunking](/docs/est/) on developers.sinch.com for product documentation.

## sinch sip trunks

Manage SIP trunks. A trunk connects your PBX or SIP infrastructure to the Sinch network.

### sinch sip trunks list

```sh
sinch sip trunks list [--limit <number>] [--json]
```

### sinch sip trunks get

```sh
sinch sip trunks get <trunk-id> [--json]
```

### sinch sip trunks create

```sh
sinch sip trunks create [options]
```

| Option | Description |
|  --- | --- |
| `-n, --name <name>` | Trunk name |
| `-h, --host-name <hostname>` | SIP host name |
| `--caller-id` | Enable caller ID |
| `--non-interactive` | Skip prompts |
| `--json` | Output as JSON |


### sinch sip trunks update

```sh
sinch sip trunks update <trunk-id> [options]
```

| Option | Description |
|  --- | --- |
| `-n, --name <name>` | New trunk name |
| `-h, --host-name <hostname>` | New host name |
| `--caller-id` / `--no-caller-id` | Enable/disable caller ID |


### sinch sip trunks delete

```sh
sinch sip trunks delete <trunk-id> [-f, --force]
```

### sinch sip trunks acls

```sh
sinch sip trunks acls list <trunk-id>
sinch sip trunks acls add <trunk-id> <acl-id>
sinch sip trunks acls remove <trunk-id> <acl-id>
```

### sinch sip trunks credential-lists update

```sh
sinch sip trunks credential-lists update <trunk-id> <cred-list-id...>
```

## sinch sip endpoints

Manage SIP endpoints (registered devices or user agents on a trunk).

```sh
sinch sip endpoints list [options]
sinch sip endpoints get <endpoint-id>
sinch sip endpoints create [options]
sinch sip endpoints update <endpoint-id> [options]
sinch sip endpoints delete <endpoint-id>
```

All subcommands support `--json`. Create and update support `--non-interactive`.

## sinch sip acls

Manage Access Control Lists (IP allowlists for SIP traffic).

```sh
sinch sip acls list [options]
sinch sip acls get <acl-id>
sinch sip acls create [options]
sinch sip acls update <acl-id> [options]
sinch sip acls delete <acl-id>
```

## sinch sip calls

View SIP call history and details.

```sh
sinch sip calls list [options]
sinch sip calls get <call-id>
```

| Option | Description |
|  --- | --- |
| `--trunk <id>` | Filter by trunk ID |
| `--from <date>` | Start date (ISO 8601) |
| `--to <date>` | End date (ISO 8601) |
| `-l, --limit <number>` | Maximum calls to return |
| `--json` | Output as JSON |


## sinch sip countries

List countries where SIP trunking is available.

```sh
sinch sip countries [--json]
```

## sinch sip credential-lists

Manage SIP credential lists (username/password pairs for SIP authentication).

```sh
sinch sip credential-lists list [options]
sinch sip credential-lists get <list-id>
sinch sip credential-lists create [options]
sinch sip credential-lists delete <list-id>
```