---
title: "Get trunks for credential list"
method: GET
path: "/credentialLists/{id}/trunks"
tags: ["Credential Lists"]
---

# Get trunks for credential list

`GET /credentialLists/{id}/trunks`

Returns a list of all the trunks which use the specified credential list.

## Response `200`

The list of trunks which use the credential list.

- object
  - `trunks` SipTrunk[]
    - `id` string — The SIP trunk id.
    - `hostName` string, required — The host of the domain you would like to have for you trunk.
    - `topLevelDomain` string — The top level domain to which the SIP trunk belongs.
    - `domain` string — The fully qualified name of the domain, which is a combination of your 'hostName' and the 'topLevelDomain'.
    - `name` string, required — The friendly name of your SIP trunk.
    - `callsPerSecond` integer — Number of calls started per second, to increase this please contact your account manager.
    - `enableCallerName` boolean — Enable caller name lookup for incoming calls. US and canada only.
    - `callForwardNumber` string — The valid E.164 phone number that will be dialed on inbound calls when no SIP endpoints are available. Required if `enableCallForward` property is `true`.
    - `enableCallForward` boolean — When enabled, if an inbound call can not be delivered to a SIP endpoint, calls will be forwarded to the configured `callForwardNumber`. To forward all calls without trying SIP, simply disable (or delete) all SIP endpoints on this trunk. Logs (and billing) will be created for 2 calls (inbound and outbound). **Note:** Since there is no SIP connection, PCAPs will not be generated.
    - `createTime` string, date-time — The date and time that the SIP trunk was created.
    - `updateTime` string, date-time — The date and time that the SIP trunk was last modified.
    - `projectId` string — The ID of the account.
  - `totalItems` integer — Total size of the result.
  - `pageNumber` string — The token to be used for listing the next page
  - `size` integer — The number of items per page. default is 1000

---

[API](https://skmtc.net/sinch/apis/elastic-sip-trunk-api.md) · [All operations](https://skmtc.net/sinch/apis/elastic-sip-trunk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/elastic-sip-trunk-api/revisions/c04c2c708bf9/schema)
