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

# Get SIP Config

> Retrieve the current SIP configuration for a phone number.

### Headers

**authorization** `string` *required*

Your API key for authentication.

### Query Parameters

**phone\_number** `string` *required*

The phone number to fetch SIP configuration for. Must be in E.164 format.

### Response

**data.inbound** `object`

Inbound SIP configuration, or `null` if not configured. Includes `number`, `id`, `org_id`, `direction`, `sip_endpoint`, `headers`, `options`, `created_at`, and `updated_at`. Sensitive fields (credentials) are redacted.

**data.outbound** `object`

Outbound SIP configuration, or `null` if not configured. Same fields as inbound.

```json Example Request theme={null}
curl -X GET 'https://api.bland.ai/v1/sip?phone_number=%2B14150000000' \
  -H "Authorization: Bearer <token>"
```

```json Response theme={null}
{
  "data": {
    "inbound": {
      "number": "+14150000000",
      "id": "abc123",
      "org_id": "org_456",
      "direction": "inbound",
      "sip_endpoint": null,
      "created_at": "2026-03-09T12:00:00Z",
      "updated_at": "2026-03-09T12:00:00Z",
      "headers": null,
      "options": {
        "auth_mode": "ip"
      }
    },
    "outbound": {
      "number": "+14150000000",
      "id": "def789",
      "org_id": "org_456",
      "direction": "outbound",
      "sip_endpoint": "sip:trunk.provider.com",
      "created_at": "2026-03-09T12:00:00Z",
      "updated_at": "2026-03-09T12:00:00Z",
      "headers": null,
      "options": {
        "port": 5061,
        "transport": "tls",
        "secure_media": true
      }
    }
  },
  "errors": null
}
```

***

Docs for agents: [llms.txt](https://docs.bland.ai/llms.txt)


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