Table of Contents

Class Number

Namespace
Vonage.Numbers
Assembly
Vonage.dll

Represents a virtual phone number with its capabilities, pricing, and configuration details.

public class Number
Inheritance
Number
Derived
Inherited Members

Properties

ApplicationId

The application Id.

[JsonProperty("app_id")]
public string ApplicationId { get; set; }

Property Value

string

Cost

The monthly rental cost for this number, in Euros

[JsonProperty("cost")]
public string Cost { get; set; }

Property Value

string

Country

The two character country code in ISO 3166-1 alpha-2 format

[JsonProperty("country")]
public string Country { get; set; }

Property Value

string

Features

The capabilities of the number: SMS or VOICE or SMS,VOICE or SMS,MMS or VOICE,MMS or SMS,MMS,VOICE

[JsonProperty("features")]
public string[] Features { get; set; }

Property Value

string[]

MessagesCallbackType

The messages webhook type: always app

[JsonProperty("messagesCallbackType")]
public string MessagesCallbackType { get; set; }

Property Value

string

MessagesCallbackValue

An Application ID

[JsonProperty("messagesCallbackValue")]
public string MessagesCallbackValue { get; set; }

Property Value

string

MoHttpUrl

The URL of the webhook endpoint that handles inbound messages

[JsonProperty("moHttpUrl")]
public string MoHttpUrl { get; set; }

Property Value

string

Msisdn

An available inbound virtual number.

[JsonProperty("msisdn")]
public string Msisdn { get; set; }

Property Value

string

Type

The type of number: landline, landline-toll-free or mobile-lvn

[JsonProperty("type")]
public string Type { get; set; }

Property Value

string

VoiceCallbackType

The voice webhook type: sip, tel, or app

[JsonProperty("voiceCallbackType")]
public string VoiceCallbackType { get; set; }

Property Value

string

VoiceCallbackValue

A SIP URI, telephone number or Application ID

[JsonProperty("voiceCallbackValue")]
public string VoiceCallbackValue { get; set; }

Property Value

string