Phone Numbers
Add Numbers to Inventory
Adds phone numbers to the account Inventory as unassigned. Currently, we support the following values: Inventory, InventoryPartnerBusinessMobileNumber and PartnerBusinessMobileNumber. Later we may support some other values like ForwardedNumber, etc.
post/restapi/v2/accounts/{accountId}/phone-numbers/bulk-add
Request
- Base URLhttps://platform.ringcentral.com
- AuthOAuth 2Authorization codehttps://platform.ringcentral.com/restapi/oauth/authorizeToken URLhttps://platform.ringcentral.com/restapi/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Internal identifier of the RingCentral account (can be set to "~" to indicate that the account associated with current authorization session should be used)
Request body
Response
Successful response (synchronous operation)
Example response
{
"records": [
{
"bulkItemSuccessful": true,
"bulkItemErrors": [
{
"errorCode": "XXX-123",
"message": "Something went wrong"
}
],
"id": "1162820004",
"phoneNumber": "+16501234567"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.