> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# list_sip_endpoints

> List SIP endpoints for a subscriber.

List SIP endpoints associated with a [subscriber](/docs/platform/subscribers).

### Schema

```yaml
openapi: 3.1.0
info:
  title: API
  version: 1.0.0
paths:
  /api/fabric/resources/subscribers/{fabric_subscriber_id}/sip_endpoints:
    get:
      operationId: list_subscriber_sip_credentials
      summary: List Subscriber SIP credentials
      description: >-
        A list of SIP Credentials for the
        [Subscriber](/docs/platform/subscribers).


        #### Permissions


        The API token used to authenticate must have the following scope(s)
        enabled to make a successful request: _Voice_, _Messaging_, _Fax_, or
        _Video_.


        [Learn more about API scopes](/docs/platform/your-signalwire-api-space).
      tags:
        - subpackage_subscriberSipCredentials
      parameters:
        - name: fabric_subscriber_id
          in: path
          description: Unique ID of a Fabric Subscriber.
          required: true
          schema:
            $ref: '#/components/schemas/uuid'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriberSipEndpointListResponse'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode401'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode404'
        '500':
          description: An internal server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Types.StatusCodes.StatusCode500'
servers:
  - url: https://%7BYour_Space_Name%7D.signalwire.com
    description: SignalWire API
components:
  schemas:
    uuid:
      type: string
      format: uuid
      description: Universal Unique Identifier.
      title: uuid
    Ciphers:
      type: string
      enum:
        - AEAD_AES_256_GCM_8
        - AES_256_CM_HMAC_SHA1_80
        - AES_CM_128_HMAC_SHA1_80
        - AES_256_CM_HMAC_SHA1_32
        - AES_CM_128_HMAC_SHA1_32
      title: Ciphers
    Codecs:
      type: string
      enum:
        - PCMU
        - PCMA
        - G722
        - G729
        - OPUS
        - OPUS@48000H@20I
        - OPUS@24000H@20I
        - OPUS@16000H@20I
        - OPUS@8000H@20I
        - VP8
        - H264
      title: Codecs
    Encryption:
      type: string
      enum:
        - required
        - optional
        - default
      title: Encryption
    SubscriberSIPEndpoint:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/uuid'
          description: Unique ID of the Sip Endpoint.
        username:
          type: string
          description: Username of the Sip Endpoint.
        caller_id:
          type: string
          description: Caller ID of the Sip Endpoint.
        send_as:
          type: string
          description: Purchased or verified number
        ciphers:
          type: array
          items:
            $ref: '#/components/schemas/Ciphers'
          description: Ciphers of the Sip Endpoint.
        codecs:
          type: array
          items:
            $ref: '#/components/schemas/Codecs'
          description: Codecs of the Sip Endpoint.
        encryption:
          $ref: '#/components/schemas/Encryption'
          description: Encryption requirement of the Sip Endpoint.
      required:
        - id
        - username
        - caller_id
        - send_as
        - ciphers
        - codecs
        - encryption
      title: SubscriberSIPEndpoint
    SubscriberSipEndpointPaginationResponse:
      type: object
      properties:
        self:
          type: string
          format: uri
          description: Link of the current page
        first:
          type: string
          format: uri
          description: Link to the first page
        next:
          type: string
          format: uri
          description: Link to the next page
        prev:
          type: string
          format: uri
          description: The link to the previous page
      required:
        - self
        - first
      title: SubscriberSipEndpointPaginationResponse
    SubscriberSipEndpointListResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SubscriberSIPEndpoint'
        links:
          $ref: '#/components/schemas/SubscriberSipEndpointPaginationResponse'
      required:
        - data
        - links
      title: SubscriberSipEndpointListResponse
    TypesStatusCodesStatusCode401Error:
      type: string
      enum:
        - Unauthorized
      title: TypesStatusCodesStatusCode401Error
    Types.StatusCodes.StatusCode401:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/TypesStatusCodesStatusCode401Error'
      required:
        - error
      description: Access is unauthorized.
      title: Types.StatusCodes.StatusCode401
    TypesStatusCodesStatusCode404Error:
      type: string
      enum:
        - Not Found
      title: TypesStatusCodesStatusCode404Error
    Types.StatusCodes.StatusCode404:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/TypesStatusCodesStatusCode404Error'
      required:
        - error
      description: The server cannot find the requested resource.
      title: Types.StatusCodes.StatusCode404
    TypesStatusCodesStatusCode500Error:
      type: string
      enum:
        - Internal Server Error
      title: TypesStatusCodesStatusCode500Error
    Types.StatusCodes.StatusCode500:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/TypesStatusCodesStatusCode500Error'
      required:
        - error
      description: An internal server error occurred.
      title: Types.StatusCodes.StatusCode500

```

## **Response Example**

### Response (200)

```json
{
  "data": [
    {
      "id": "acaa5c49-be5e-4477-bce0-48f4b23b7720",
      "username": "justice-league",
      "caller_id": "call-id-123",
      "send_as": "+14632322867",
      "ciphers": [
        "AEAD_AES_256_GCM_8"
      ],
      "codecs": [
        "PCMU"
      ],
      "encryption": "optional"
    }
  ],
  "links": {
    "self": "https://example.signalwire.com/api/fabric/resources/subscribers/d369a402-7b43-4512-8735-9d5e1f387814/sip_endpoints?page_number=0&page_size=50",
    "first": "https://example.signalwire.com/api/fabric/resources/subscribers/d369a402-7b43-4512-8735-9d5e1f387814/sip_endpoints?page_number=0&page_size=50",
    "next": "https://example.signalwire.com/api/fabric/resources/subscribers/d369a402-7b43-4512-8735-9d5e1f387814/sip_endpoints?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca",
    "prev": "https://example.signalwire.com/api/fabric/resources/subscribers/d369a402-7b43-4512-8735-9d5e1f387814/sip_endpoints?page_number=1&page_size=50&page_token=PAbff61159-faab-48b3-959a-3021a8f5beca"
  }
}
```

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

response = client.fabric.subscribers.list_sip_endpoints("subscriber-id")
for ep in response.get("data", []):
    print(f"{ep['username']}: {ep['id']}")
```