## List SIP profiles

`client.SipProfiles.List(ctx) (*SipProfileListResponse, error)`

**get** `/v3/sip-profiles`

Retrieve all SIP profiles for the authenticated partner.

### Returns

- `type SipProfileListResponse struct{…}`

  - `SipProfiles []SipProfile`

    The partner's SIP profiles

    - `ID string`

      Unique identifier for the SIP profile

    - `AssignedNumberCount int64`

      How many phone numbers reference this profile

    - `CreatedAt Time`

    - `Name string`

      Human-readable name

    - `PrimaryUri string`

      Your SIP endpoint as scheme + host (`sip:` UDP / `sips:` TLS); no user part — we set it to the called number on each call.

    - `UpdatedAt Time`

    - `Version int64`

      Monotonic version, incremented on each update

    - `BackupUri string`

      Optional failover SIP URI. Null when unset.

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/linq-team/linq-go"
  "github.com/linq-team/linq-go/option"
)

func main() {
  client := linqgo.NewClient(
    option.WithAPIKey("My API Key"),
  )
  sipProfiles, err := client.SipProfiles.List(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", sipProfiles.SipProfiles)
}
```

#### Response

```json
{
  "sip_profiles": [
    {
      "id": "sip_8a3f9c2b1d4e4f5a9b8c7d6e5f4a3b2c",
      "assigned_number_count": 0,
      "created_at": "2026-10-29T10:30:00Z",
      "name": "byoc-primary",
      "primary_uri": "sips:sip.partner.example",
      "updated_at": "2026-10-29T10:30:00Z",
      "version": 1,
      "backup_uri": null
    }
  ]
}
```
