Voice

Retrieve a Voice Prefix

Work with Voice Prefixes. Retrieves the Voice Prefix with the given ID.

get/admin/voice/prefixes/{id}

Request

  • Base URL: https://demo.splynx.com/api/2.0
  • URL: https://demo.splynx.com/api/2.0/admin/voice/prefixes/{id}
  • Auth: HTTP basic

Path parameters

idnumber double required
Example:1

The ID of the desired Voice Prefix.

Response

idnumber

Voice prefix ID.

prefixstring

Number prefix.

destinationstring

Human-readable destination name.

rate_type'call' | 'data' | 'message'

Voice service type. One of call, data, message.

category_idnumber nullable

Linked voice category ID. Nullable.

is_hardstring

Whether the prefix is hard-coded (system) and cannot be edited. 0 or 1.

Example response

{
  "id": 1,
  "prefix": "380",
  "destination": "Ukraine",
  "rate_type": "call",
  "category_id": 1,
  "is_hard": "0"
}

Changes

No recorded changes to this operation across all 1 revision of this API.