get
https://api.ytel.com/v4/number/
Retrieves numbers on the account.
Fields:
- accountSid: Account id
- phoneSid: Unique id for this phone number
- phoneNumber: Phone number for this record in E164 format.
- voiceUrl: Url to hit when an inbound voice call is received.
- voiceMethod: HTTP method to use in conjunction with the voiceUrl. Valid values GET and POST.
- voiceFallbackUrl: Url to use if voiceUrl fails.
- voiceFallbackMethod: HTTP method for voiceFallbackUrl.
- smsUrl: Url to hit when an inbound sms is received.
- smsMethod: HTTP method to use with smsUrl.
- smsFallbackUrl: Url to hit if smsUrl fails.
- smsFallbackMethod: HTTP method for smsFallbackUrl.
- heartbeatUrl: Url to hit for heartbeat messages.
- heartbeatMethod: HTTP method for heartbeatUrl.
- hangupCallbackUrl: Url to hit when a call is completed.
- hangupCallbackMethod: HTTP method for hangupCallbackUrl.
- renewalDate: Next time that this number will be billed. Milliseconds from the epoch.
- purchaseDate: Time the number was purchased. Milliseconds from the epoch.
- region: Where the number is based based on prefix. Format is Country-State (or Province).
- timezone: Timezone id where the number is based.
- numberSetId: Number set that this number belongs to.
- attributes: List of attributes for the number. Current set is voice-enabled, sms-enabled, and mms-enabled.
- numberType: Type of the number.
- keywordActions: A mapping of actions to take when a particular keyword is received. Currently this only supports starting a campaign.
