Access Control List

Get trunks for ACL

Changed on

Returns a list of all trunks which use the specified access control list.

get/v1/projects/{projectId}/accessControlLists/{id}/trunks

Request

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

Response

The list of trunks which use the access control list.

totalItemsinteger

Total size of the result.

pageNumberstring

The token to be used for listing the next page

sizeinteger

The number of items per page. default is 1000

Example response

{
  "trunks": [
    {
      "hostName": "acme-domain-1",
      "topLevelDomain": ".elastic-sip.sinch.com",
      "domain": "acme-domain-1.elastic-sip.sinch.com",
      "name": "Acme Trunk",
      "callsPerSecond": 100,
      "enableCallerName": true,
      "callForwardNumber": "+17208511190",
      "enableCallForward": true,
      "createTime": "2022-01-01T00:00:00Z",
      "updateTime": "2022-01-01T00:00:00Z",
      "projectId": "1bf62742-7b84-4666-9cbe-8e5734fd57d0"
    }
  ],
  "totalItems": 10000,
  "pageNumber": "1",
  "size": 2000
}

Changes

    • breaking

      the response property /// became nullable for the status

    • info

      the response optional property /// became not read-only for the status

    • info

      endpoint added