Skip to main content
GET
List Enabled Telephony Network Groups
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

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.
  • 400 Bad Request means the workspace context could not be resolved. Confirm the API key belongs to an active workspace.
  • Do not retry a blocked call until the workspace telephony configuration changes or the destination is corrected.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Enabled destination rules returned successfully.

prefix_mode
enum<string>
required
Available options:
allow_only_listed
from_phone_number_country_code
string | null
required
Example:

null

countryRule
object
required