> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galtea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Phone Connection Service

> Phone Connection Service API methods in the Galtea SDK

The Phone Connection Service in the Galtea SDK allows you to manage [phone connections](/concepts/product/phone-connection) for your products.
This Service is exposed by the `galtea.phone_connections` object.

<Info>
  Remember that we will be using the `galtea` object. More information [here](/sdk/api/galtea).
</Info>

## Quick Example

First, initialize the Galtea SDK:

```python theme={"system"}
galtea = Galtea(api_key="YOUR_API_KEY")
```

Create a phone connection:

```python theme={"system"}
phone_connection = galtea.phone_connections.create(
    product_id=product_id,
    name="production-voice-agent-" + run_identifier,
    phone_number="+14155552671",
    agent_speaks_first=False,
)
```

List phone connections for a product:

```python theme={"system"}
phone_connections = galtea.phone_connections.list(
    product_ids=[product_id],
    sort_by_created_at="desc",
    limit=10,
)
```

Get a phone connection by ID:

```python theme={"system"}
phone_connection = galtea.phone_connections.get(phone_connection_id=phone_connection_id)
```

## Service Methods

* [Create Phone Connection](/sdk/api/phone-connection/create)
* [List Phone Connections](/sdk/api/phone-connection/list)
* [Get Phone Connection](/sdk/api/phone-connection/get)
* [Get Phone Connection By Name](/sdk/api/phone-connection/get-by-name)
* [Update Phone Connection](/sdk/api/phone-connection/update)
* [Delete Phone Connection](/sdk/api/phone-connection/delete)

## Related

<Card title="Phone Connection" icon="phone" iconType="solid" href="/concepts/product/phone-connection">
  A reusable telephony connection for dialing your AI agent's phone number during voice evaluation
</Card>
