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

# Get Phone Line

> Get one phone line

Get one phone line. The response has the same fields as [List phone lines](https://docs.60db.ai/api-reference/agents/list-phone-lines.md). SIP passwords are never returned.

## Request

### Headers

**Authorization** `string` *required*

Bearer token with your API key (scope `agents`)

### Path

**lineId** `string` *required*

The phone line `id` (UUID)

## Response

**200 OK**. The phone line object. See [Create phone line](https://docs.60db.ai/api-reference/agents/create-phone-line.md) for an example.

## Errors

| Status | Code | Meaning |
| - | - | - |
| 404 | `PHONE_LINE_NOT_FOUND` | No phone line with this ID in your workspace |

## Example

```bash cURL theme={null}
curl https://api.60db.ai/agents/phone-lines/LINE_ID \
  -H "Authorization: Bearer your-api-key"
```

```javascript JavaScript theme={null}
const line = await client.agents.phoneLines.get(lineId);
```

```python Python theme={null}
line = client.agents.phone_lines.get(line_id)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.