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

# Get trunks for credential list

`GET /v1/projects/{projectId}/credentialLists/{id}/trunks`

## Request

- Base URL: `https://elastic-trunking.api.sinch.com`
- URL: `https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/credentialLists/{id}/trunks`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.sinch.com/oauth2/token`

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, nullable: Number of calls started per second. If null, the value is inherited from the service settings. To increase it, 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

## Changes

- **2026-10-16** `8f15a650c7cd`: 1 breaking, 1 info
  - the response property `allOf[subschema #1]/trunks/items/callsPerSecond` became nullable for the status `200`
  - the response optional property `allOf[subschema #1]/trunks/items/callsPerSecond` became not read-only for the status `200`
- **2026-10-01** `108d6bcb3948`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/changes/v1/projects/:projectId/credentialLists/:id/trunks/get.md)

---

[API](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api.md) - [All operations](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sinch/apis/elastic-sip-trunk-api/revisions/8f15a650c7cd?raw)
