Get Prefix Pricing

vonage.get_prefix_pricing
ActionVoice & SMSconnection required

Calls the Vonage API with the connection's credentials.

Read the rates for every country that shares one dialling prefix, which is how to price a number when only its prefix is known — prefix 1 covers the US, Canada and the Caribbean.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Vonage
Secret shape
{"api_key": "…", "api_secret": "…"}
Config it needs
api_region, from_number
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
prefix
The numeric dialling prefix to price, without a plus, for example 44 or 1.
stringYes——44
pricing_type
Which rate card to read: sms, sms-transit or voice.
stringNosmsone of "sms", "sms-transit", "voice"—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "prefix": "44",
  "pricing_type": "sms"
}

Output

One shape.

result

FieldTypeExample
countries
One rate card per country sharing the prefix, with its currency, defaultPrice and per-network prices.
array—
count
How many countries share that prefix.
number—
{
  "count": 0,
  "countries": []
}

See Get Prefix Pricing run in a workflow.

In a technical demo we add the Vonage connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.