Class Number
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
Cost
The monthly rental cost for this number, in Euros
[JsonProperty("cost")]
public string Cost { get; set; }
Property Value
Country
The two character country code in ISO 3166-1 alpha-2 format
[JsonProperty("country")]
public string Country { get; set; }
Property Value
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
MessagesCallbackValue
An Application ID
[JsonProperty("messagesCallbackValue")]
public string MessagesCallbackValue { get; set; }
Property Value
MoHttpUrl
The URL of the webhook endpoint that handles inbound messages
[JsonProperty("moHttpUrl")]
public string MoHttpUrl { get; set; }
Property Value
Msisdn
An available inbound virtual number.
[JsonProperty("msisdn")]
public string Msisdn { get; set; }
Property Value
Type
The type of number: landline, landline-toll-free or mobile-lvn
[JsonProperty("type")]
public string Type { get; set; }
Property Value
VoiceCallbackType
The voice webhook type: sip, tel, or app
[JsonProperty("voiceCallbackType")]
public string VoiceCallbackType { get; set; }
Property Value
VoiceCallbackValue
A SIP URI, telephone number or Application ID
[JsonProperty("voiceCallbackValue")]
public string VoiceCallbackValue { get; set; }