Dialpeers API

get specific entry

GET /api/rest/admin/dialpeers/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEwMCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc5MjYxOTgwNX0.HBcaKYG9aVpN3pr9PPpFqAxP4e0-tYLKpRYtzHBGgBs
Host: example.org
Cookie: 

Route

GET /api/rest/admin/dialpeers/1376794

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"406a54cc375cca313805a9196dcf46ae"
cache-control: max-age=0, private, must-revalidate
x-request-id: b8c884d9-07f4-4465-bfb0-09ccbe96744a
x-runtime: 0.011315
content-length: 2453

Status

200 OK

Body

{
  "data": {
    "id": "1376794",
    "type": "dialpeers",
    "links": {
      "self": "http://example.org/api/rest/admin/dialpeers/1376794"
    },
    "attributes": {
      "enabled": true,
      "next-rate": "0.0",
      "connect-fee": "0.0",
      "attempt-fee": "0.0",
      "initial-rate": "0.0",
      "initial-interval": 60,
      "next-interval": 60,
      "valid-from": "2026-10-11T21:46:45.902Z",
      "valid-till": "2026-10-31T21:46:45.903Z",
      "prefix": "",
      "src-rewrite-rule": null,
      "dst-rewrite-rule": null,
      "acd-limit": 0.0,
      "asr-limit": 0.0,
      "src-rewrite-result": null,
      "dst-rewrite-result": null,
      "locked": false,
      "priority": 100,
      "exclusive-route": false,
      "capacity": null,
      "lcr-rate-multiplier": "1.0",
      "force-hit-rate": null,
      "network-prefix-id": null,
      "created-at": "2026-10-21T21:46:45.944Z",
      "short-calls-limit": 1.0,
      "external-id": 11,
      "routing-tag-ids": [],
      "dst-number-min-length": 0,
      "dst-number-max-length": 100,
      "reverse-billing": false,
      "routing-tag-mode-id": 0,
      "currency": "CHF"
    },
    "relationships": {
      "gateway": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/gateway",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/gateway"
        },
        "data": null
      },
      "gateway-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/gateway-group",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/gateway-group"
        },
        "data": {
          "type": "gateway-groups",
          "id": "13"
        }
      },
      "routing-group": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/routing-group",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/routing-group"
        },
        "data": {
          "type": "routing-groups",
          "id": "32"
        }
      },
      "vendor": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/vendor",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/vendor"
        },
        "data": {
          "type": "contractors",
          "id": "53"
        }
      },
      "account": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/account",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/account"
        },
        "data": {
          "type": "accounts",
          "id": "58"
        }
      },
      "routeset-discriminator": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/routeset-discriminator",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/routeset-discriminator"
        },
        "data": {
          "type": "routeset-discriminators",
          "id": "12"
        }
      },
      "dialpeer-next-rates": {
        "links": {
          "self": "http://example.org/api/rest/admin/dialpeers/1376794/relationships/dialpeer-next-rates",
          "related": "http://example.org/api/rest/admin/dialpeers/1376794/dialpeer-next-rates"
        }
      }
    }
  }
}