Rate this page:

GetPhoneNumbersRequest

Props

activationStatus
Optional
Copy URL
activationStatus: 

string

|

string[]

Phone number activation statuses to filter, separated by semicolons (;).

The possible values are: ACTIVE, ACTIVATING, DEACTIVATED, PROVISIONING, AWAITING_BUSINESS_PHONE_NUMBER_CONFIGURATION, LEGAL_OWNERSHIP_LIMIT_REACHED, GOSUSLUGI_DECLINED, SELF_BAN_ENABLED

applicationId
Optional
Copy URL
applicationId: 

number

Application ID

applicationName
Optional
Copy URL
applicationName: 

string

Application name that can be used instead of application_id

autoCharge
Optional
Copy URL
autoCharge: 

boolean

Whether the auto_charge flag is enabled

canBeUsed
Optional
Copy URL
canBeUsed: 

boolean

Whether a not verified account can use the phone

canceled
Optional
Copy URL
canceled: 

boolean

Whether the subscription is cancelled to filter

childAccountId
Optional
Copy URL
childAccountId: 

number

|

number[]

|

any

Child account ID list separated by semicolons (;). Use the 'all' value to select all child accounts

childrenPhonesOnly
Optional
Copy URL
childrenPhonesOnly: 

boolean

Whether to get the children phones only

count
Optional
Copy URL
count: 

number

Maximum returning record count

countryCode
Optional
Copy URL
countryCode: 

string

|

string[]

Country code list separated by semicolons (;)

deactivated
Optional
Copy URL
deactivated: 

boolean

Whether the subscription is frozen to filter

fromPhoneNextRenewal
Optional
Copy URL
fromPhoneNextRenewal: 

Date

UTC 'from' date filter in the following format: YYYY-MM-DD

fromPhonePurchaseDate
Optional
Copy URL
fromPhonePurchaseDate: 

Date

UTC 'from' date filter in 24-h format: YYYY-MM-DD HH:mm:ss

fromUnverifiedHoldUntil
Optional
Copy URL
fromUnverifiedHoldUntil: 

Date

Unverified phone hold until the date (from …) in the following format: YYYY-MM-DD

isBoundToApplication
Optional
Copy URL
isBoundToApplication: 

boolean

Whether the phone number bound to an application

isBoundToRule
Optional
Copy URL
isBoundToRule: 

boolean

Whether the phone number is bound to some rule

offset
Optional
Copy URL
offset: 

number

First N records are skipped in the output

orderBy
Optional
Copy URL
orderBy: 

string

Following values are available: 'phone_number' (ascent order), 'phone_price' (ascent order), 'phone_country_code' (ascent order), 'deactivated' (deactivated first, active last), 'purchase_date' (descent order), 'phone_next_renewal' (ascent order), 'verification_status', 'unverified_hold_until' (ascent order), 'verification_name'

phoneCategoryName
Optional
Copy URL
phoneCategoryName: 

string

Phone category name. See the method

phoneId
Optional
Copy URL
phoneId: 

number

|

number[]

|

any

Particular phone ID to filter

phoneNumber
Optional
Copy URL
phoneNumber: 

string

|

string[]

Phone number list separated by semicolons (;) that can be used instead of phone_id

phoneRegionName
Optional
Copy URL
phoneRegionName: 

string

|

string[]

Region names list separated by semicolons (;)

phoneTemplate
Optional
Copy URL
phoneTemplate: 

string

Phone number start to filter

ruleId
Optional
Copy URL
ruleId: 

number

|

number[]

|

any

Rule ID list separated by semicolons (;)

ruleName
Optional
Copy URL
ruleName: 

string

|

string[]

Rule names list separated by semicolons (;). Can be used only if application_id or application_name is specified

sandbox
Optional
Copy URL
sandbox: 

string

Flag allows you to display only the numbers of the sandbox, real numbers, or all numbers. The following values are possible: 'all', 'true', 'false'

smsSupported
Optional
Copy URL
smsSupported: 

boolean

toPhoneNextRenewal
Optional
Copy URL
toPhoneNextRenewal: 

Date

UTC 'to' date filter in the following format: YYYY-MM-DD

toPhonePurchaseDate
Optional
Copy URL
toPhonePurchaseDate: 

Date

UTC 'to' date filter in 24-h format: YYYY-MM-DD HH:mm:ss

toUnverifiedHoldUntil
Optional
Copy URL
toUnverifiedHoldUntil: 

Date

Unverified phone hold until the date (… to) in the following format: YYYY-MM-DD

verificationName
Optional
Copy URL
verificationName: 

string

Required account verification name to filter

verificationStatus
Optional
Copy URL
verificationStatus: 

string

|

string[]

Account verification status list separated by semicolons (;). The following values are possible: REQUIRED, IN_PROGRESS, VERIFIED

Rate this page: