> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Enabled Telephony Network Groups

> List the DialNexa destination countries and prefixes enabled for outbound calling in the authenticated workspace.

Read only

List enabled telephony network groups to see which destination countries and prefixes the authenticated workspace can call. DialNexa combines active network-group configurations by country and returns one rule per country.

## When to list enabled network groups

* Validate destination availability before creating a call or batch.
* Explain why a valid E.164 number is blocked by workspace telephony policy.
* Build a country and prefix selector that reflects the current workspace configuration.

## Understand the response

| Field | Meaning |
| - | - |
| `prefix_mode` | `allow_only_listed` for the returned combined rules. |
| `from_phone_number_country_code` | Reserved source-country constraint. The combined response currently returns `null`. |
| `countryRule.country_iso` | Two-letter destination country code. |
| `countryRule.country_name` | Name of the first enabled network group for the country, for example `India Mobile`. It is not the country name. |
| `countryRule.calling_code` | Destination calling code without the leading `+`. |
| `countryRule.prefixes` | Unique prefixes enabled across active network groups for the country. |

## Verify the result

Confirm the destination country is present and that its local number begins with an allowed prefix. An empty array means the workspace has no active network-group configuration for standard outbound routing.

## Errors and recovery

* `401 Unauthorized` means the API key is missing or invalid.
* Do not retry a blocked call until the workspace telephony configuration changes or the destination is corrected.

## Related endpoints

* [List Phone Country Rules](https://dialnexa.com/docs/api-reference/v1/phone-numbers/list-country-rules.md): read the global country catalog.
* [Create Call](https://dialnexa.com/docs/api-reference/v1/calls/create.md): start a call after validating destination policy.
* [Workspace settings](https://dialnexa.com/docs/platform/workspaces.md): locate Telephony in the dashboard.


## OpenAPI

````yaml GET /v1/phone-country-rules/enabled-network-groups
openapi: 3.0.0
info:
  title: DialNexa API
  description: Public `/v1` REST API for the DialNexa voice AI platform.
  version: 1.0.0
servers:
  - url: https://api.dialnexa.com
    description: DialNexa production API
security:
  - bearer: []
tags:
  - name: Agents
  - name: Batch Calls
  - name: Calls
  - name: Knowledge Base
  - name: Languages
  - name: LLMs
  - name: Phone Numbers
  - name: Organization Folders
  - name: Transcribers
  - name: Webhooks
  - name: Voices
  - name: Workflows
  - name: Workflow Leads
  - name: Authentication
  - name: Agent Builder
  - name: Agent Evaluations
paths:
  /v1/phone-country-rules/enabled-network-groups:
    get:
      tags:
        - Phone Numbers
      summary: List Enabled Telephony Network Groups
      description: >-
        Returns one combined destination rule per country enabled for the
        authenticated workspace.
      operationId: listEnabledTelephonyNetworkGroups
      parameters: []
      responses:
        '200':
          description: Enabled destination rules returned successfully.
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - error
                  - statusCode
                  - message
                  - data
                  - timestamp
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  error:
                    type: boolean
                    enum:
                      - false
                  statusCode:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Success
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/EnabledTelephonyNetworkGroup'
                  timestamp:
                    type: string
                    format: date-time
        '401':
          description: Unauthorized - missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer: []
components:
  schemas:
    EnabledTelephonyNetworkGroup:
      type: object
      properties:
        prefix_mode:
          type: string
          enum:
            - allow_only_listed
        from_phone_number_country_code:
          type: string
          nullable: true
          example: null
        countryRule:
          type: object
          properties:
            country_iso:
              type: string
              example: IN
            country_name:
              type: string
              example: India Mobile
              description: >-
                Name of the first enabled network group for the country, for
                example India Mobile. Not the country name.
            calling_code:
              type: string
              example: '91'
            prefixes:
              type: array
              items:
                type: string
              example:
                - '98'
                - '99'
          required:
            - country_iso
            - country_name
            - calling_code
            - prefixes
      required:
        - prefix_mode
        - from_phone_number_country_code
        - countryRule
    ErrorResponse:
      type: object
      description: Error body on endpoints without response filtering.
      properties:
        statusCode:
          type: integer
          example: 404
        error:
          type: boolean
          enum:
            - true
        success:
          type: boolean
          enum:
            - false
        data:
          oneOf:
            - type: object
              properties:
                code:
                  type: string
                  description: Machine-readable refusal code.
            - type: array
              items: {}
          description: >-
            For a coded refusal, an object with code and the details listed for
            that code. Otherwise an empty array.
        message:
          type: string
        errors:
          type: array
          items:
            type: string
          description: Validation messages for a 400. Empty for other errors.
        validation_errors:
          type: array
          description: >-
            Present when uploaded rows fail number validation (batch and
            workflow lead uploads): one group per distinct error.
          items:
            type: object
            properties:
              error:
                type: string
              rows:
                type: array
                items:
                  type: integer
                description: Row numbers with this error.
              phone_numbers:
                type: array
                items:
                  type: string
        invalid_row_count:
          type: integer
          description: 'Present with validation_errors: how many rows failed.'
      required:
        - statusCode
        - error
        - success
        - data
        - message
        - errors
  securitySchemes:
    bearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.