All URIs are relative to https://platform.devtest.ringcentral.com
Method | HTTP request | Description |
---|---|---|
BulkAssign | Post /restapi/v1.0/account/{accountId}/department/bulk-assign | Edit Call Queue Members |
CreateAccount | Post /restapi/v1.0/account | Create Account |
CreateDeviceOrder | Post /restapi/v1.0/account/{accountId}/order | Create Device Order |
CreateLicensesOrder | Post /restapi/v1.0/account/{accountId}/licenses/bulk-purchase | Order Licenses |
DeleteLicense | Delete /restapi/v1.0/account/{accountId}/licenses/{licenseId} | Delete License |
DeletePhoneNumberById | Delete /restapi/v1.0/account/{accountId}/phone-number/{phoneNumberId} | Delete Phone Number |
GetBrandInfo | Get /restapi/v1.0/dictionary/brand/{brandId} | Get Brand Info |
GetDeviceModels | Get /restapi/v1.0/dictionary/device | Get Device Catalog |
GetExtensionFreeNumbers | Get /restapi/v1.0/account/{accountId}/extension/free-numbers | Get Free Extension Numbers |
GetPagingOnlyGroupDevices | Get /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/devices | Get Paging Only Group Devices |
GetPagingOnlyGroupUsers | Get /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/users | Get Paging Only Group Users |
GetParkLocationUsers | Get /restapi/v1.0/account/{accountId}/park-locations/{parkLocationId}/users | Get Park Location Users |
GetServicePlanInfo | Get /restapi/v1.0/dictionary/service-plan/{servicePlanId} | Get Service Plan |
ListAccountDevices | Get /restapi/v1.0/account/{accountId}/device | Get Account Devices |
ListAccountPhoneNumbers | Get /restapi/v1.0/account/{accountId}/phone-number | Get All Company Phone Numbers |
ListDepartmentMembers | Get /restapi/v1.0/account/{accountId}/department/{departmentId}/members | Get Department Member List |
ListExtensionDevices | Get /restapi/v1.0/account/{accountId}/extension/{extensionId}/device | Get User Device Info |
ListLicenseTypes | Get /restapi/v1.0/dictionary/license-types | Get License Types |
ListLicenses | Get /restapi/v1.0/account/{accountId}/licenses | Get License List |
ListShippingOptions | Get /restapi/v1.0/dictionary/shipping-options | Get Shipping Options |
LoadAccountDevice | Get /restapi/v1.0/account/{accountId}/device/{deviceId} | Get Device Info |
LoadAccountPhoneNumber | Get /restapi/v1.0/account/{accountId}/phone-number/{phoneNumberId} | Get Phone Number |
LoadDeviceOrder | Get /restapi/v1.0/account/{accountId}/order/{orderId} | Get Device Order by ID |
LoadLicense | Get /restapi/v1.0/account/{accountId}/licenses/{licenseId} | Get License |
LookupPhoneNumbers | Post /restapi/v1.0/number-pool/lookup | Get Numbers |
ParsePhoneNumber | Post /restapi/v1.0/number-parser/parse | Parse Phone Number |
ProvisionPhoneNumber | Post /restapi/v1.0/account/{accountId}/phone-number | Provision Phone Numbers |
ReassignPhoneNumberById | Put /restapi/v1.0/account/{accountId}/phone-number/{phoneNumberId} | Reassign Phone Number |
ReservePhoneNumbers | Post /restapi/v1.0/number-pool/reserve | Reserve/ Un-reserve Numbers |
UpdateDevice | Put /restapi/v1.0/account/{accountId}/device/{deviceId} | Update Device |
UpdatePagingOnlyGroupUsersAndDevices | Post /restapi/v1.0/account/{accountId}/paging-only-groups/{pagingOnlyGroupId}/bulk-assign | Edit Paging Group Users & Devices |
UpdateParkLocationUsers | Post /restapi/v1.0/account/{accountId}/park-locations/{parkLocationId}/bulk-assign | Adds and/or removes park location users |
BulkAssign(ctx, accountId, optional) Edit Call Queue Members
Since 1.0.32 (Release 9.3)
Adds and/or removes multiple call queue members.
Permission | Description |
---|---|
EditExtensions | Viewing and updating my extension info (includes extension name, number, email and phone number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | [default to ~] | |
optional | *BulkAssignOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a BulkAssignOpts struct
Name | Type | Description | Notes |
---|
departmentBulkAssignResource | optional.Interface of DepartmentBulkAssignResource| |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAccountInfoResponse CreateAccount(ctx, createAccountRequest) Create Account
Since 1.0.10 (Release 6.2)
Creates the account in Initial state.
Permission | Description |
---|---|
Accounts | Managing accounts: creating new accounts, viewing and updating account information, deleting existing accounts |
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
EditExtensions | Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings) |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
createAccountRequest | CreateAccountRequest | JSON body |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeviceOrderCreation CreateDeviceOrder(ctx, accountId, optional) Create Device Order
Permission | Description |
---|---|
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
optional | *CreateDeviceOrderOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a CreateDeviceOrderOpts struct
Name | Type | Description | Notes |
---|
async | optional.Bool| Specifies whether a client expects order details to be returned or not. If 'True' the server returns a link for tracking order status without waiting for it to be actually created. If 'False' the server returns order details once it is created - it may take some time depending on device count. The default value is 'False' | [default to false] deviceResource | optional.Interface of DeviceResource| |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
CreateLicensesOrder(ctx, accountId, orderLicensesRequest) Order Licenses
Since 1.0.31 (Release 9.2)
Purchases licenses for add-on features: Rooms, Room Connector, Webinar, Live Reports, etc.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
EditExtensions | Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings) |
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
orderLicensesRequest | OrderLicensesRequest | JSON body |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteLicense(ctx, accountId, licenseId) Delete License
Since 1.0.31 (Release 9.2)
Removes a license for a specific user. Please note: It is not allowed to remove assigned licenses (only Webinars and Large Meetings can be assigned).
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
EditExtensions | Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings) |
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
licenseId | string | Internal identifier of a license |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeletePhoneNumberById(ctx, phoneNumberId, accountId) Delete Phone Number
Since 1.0.11 (Release 6.3)
Deletes a phone number belonging to a certain account/extension.
Permission | Description |
---|---|
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
phoneNumberId | int64 | ||
accountId | string |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BrandResource GetBrandInfo(ctx, brandId) Get Brand Info
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
brandId | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeviceModelExtsResource GetDeviceModels(ctx, ) Get Device Catalog
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BulkProvisionUnassignedExtensionsResponseResource GetExtensionFreeNumbers(ctx, accountId) Get Free Extension Numbers
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string |
BulkProvisionUnassignedExtensionsResponseResource
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagingOnlyGroupDevices GetPagingOnlyGroupDevices(ctx, accountId, pagingOnlyGroupId, optional) Get Paging Only Group Devices
Since 1.0.32 (Release 9.3)
Returns the list of paging devices assigned to this group.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
pagingOnlyGroupId | string | ||
optional | *GetPagingOnlyGroupDevicesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetPagingOnlyGroupDevicesOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | perPage | optional.Int32| Indicates the page size (number of items). If not specified, the value is '100' by default |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PagingOnlyGroupUsers GetPagingOnlyGroupUsers(ctx, accountId, pagingOnlyGroupId, optional) Get Paging Only Group Users
Since 1.0.32 (Release 9.3)
Returns the list of users allowed to page this group.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
pagingOnlyGroupId | string | ||
optional | *GetPagingOnlyGroupUsersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetPagingOnlyGroupUsersOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | perPage | optional.Int32| Indicates the page size (number of items). If not specified, the value is '100' by default |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ParkLocationResponse GetParkLocationUsers(ctx, accountId, parkLocationId, optional) Get Park Location Users
Since 1.0.32 (Release 9.3)
Returns the list of users allowed to park and unpark calls to/from the park location extension specified
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
parkLocationId | string | ||
optional | *GetParkLocationUsersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetParkLocationUsersOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | perPage | optional.Int32| Indicates the page size (number of items). If not specified, the value is '100' by default |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ServicePlanResource GetServicePlanInfo(ctx, servicePlanId) Get Service Plan
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
servicePlanId | string |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetAccountDevicesResponse ListAccountDevices(ctx, accountId) Get Account Devices
Since 1.0.12 (Release 6.4)
Returns all the devices for a particular extension.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AccountPhoneNumbers ListAccountPhoneNumbers(ctx, accountId, optional) Get All Company Phone Numbers
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
optional | *ListAccountPhoneNumbersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListAccountPhoneNumbersOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | perPage | optional.Int32| Indicates the page size (number of items). If not specified, the value is '100' by default | usageType | optional.Interface of []string| Usage type of the phone number |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DepartmentMemberList ListDepartmentMembers(ctx, accountId, departmentId, optional) Get Department Member List
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
departmentId | int32 | Internal identifier of a Department extension (same as extensionId but only the ID of a department extension is valid) | |
optional | *ListDepartmentMembersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListDepartmentMembersOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int32| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | perPage | optional.Int32| Indicates the page size (number of items). If not specified, the value is '100' by default |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetExtensionDevicesResponse ListExtensionDevices(ctx, accountId, extensionId, optional) Get User Device Info
Since 1.0.12 (Release 6.4)
Returns all the devices for extension(s) by extension ID(s). Batch request is supported, see Batch Requests for details.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
extensionId | string | Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] |
optional | *ListExtensionDevicesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListExtensionDevicesOpts struct
Name | Type | Description | Notes |
---|
linePooling | optional.String| Pooling type of a device |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseTypes ListLicenseTypes(ctx, ) Get License Types
Since 1.0.31 (Release 9.2)
Returns supported license types.
Light
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseList ListLicenses(ctx, accountId, optional) Get License List
Since 1.0.31 (Release 9.2)
Returns list of licenses for a specific user.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
optional | *ListLicensesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListLicensesOpts struct
Name | Type | Description | Notes |
---|
page | optional.Int64| Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1' | perPage | optional.Int64| Indicates the page size (number of items). If not specified, the value is '25' by default | typeId | optional.Int64| Internal identifier of a license type. If not specified account licenses of all types are returned |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DictionaryShippingOptions ListShippingOptions(ctx, optional) Get Shipping Options
Since 1.0.16 (Release 7.1)
Returns the list of device shipping options with their prices, according to brand, tier, number of ordered devices.
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *ListShippingOptionsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ListShippingOptionsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
servicePlanId | optional.Int32 | ||
brandId | optional.Int32 | ||
quantity | optional.Int32 |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetDeviceInfoResponse LoadAccountDevice(ctx, accountId, deviceId) Get Device Info
Since 1.0.9 (Release 6.1)
Returns account device(s) by their ID(s).
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
deviceId | string | Internal identifier of a device |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PhoneNumberInfo LoadAccountPhoneNumber(ctx, accountId, phoneNumberId) Get Phone Number
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
phoneNumberId | int32 | Internal identifier of a phone number |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeviceOrder LoadDeviceOrder(ctx, accountId, orderId) Get Device Order by ID
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
orderId | int32 | Internal identifier of an order |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LicenseInfo LoadLicense(ctx, accountId, licenseId) Get License
Since 1.0.31 (Release 9.2)
Returns license information by its ID.
Permission | Description |
---|---|
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
licenseId | string | Internal identifier of a license |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PhoneNumbers LookupPhoneNumbers(ctx, optional) Get Numbers
Since 1.0.10 (Release 6.2)
Returns the required numbers filtered by criteria.
Permission | Description |
---|---|
NumberLookup | Looking-up and reserving available phone number |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *LookupPhoneNumbersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a LookupPhoneNumbersOpts struct
Name | Type | Description | Notes |
---|---|---|---|
areaCode | optional.Int32 | Area code of the location | |
countryCode | optional.String | Two-letter country code, complying with the ISO standard | |
countryId | optional.String | Internal identifier of a country; '1'- the US; '39' - Canada; '224' - the UK. The default value is '1' | |
exclude | optional.String | A string of digits (one and more) that should not appear among the last four digits (line part) of the phone numbers that will be returned. It is possible to specify severalT?exclude parameters. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified) | |
extendedSearch | optional.Bool | If the value is 'False', then the returned numbers exactly correspond to the specified NXX, NPA and LINE or countryCode, areaCode and numberPattern parameters. If the value is 'True', then the resulting numbers are ranked and returned with the rank attribute values (1-10). The default value is 'False' | |
line | optional.String | LINE pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 4 characters) | |
numberPattern | optional.String | Phone number pattern (for wildcard or vanity search). For NANP countries (US, Canada) is concatenation of nxx (the first three digits) and line. If the first three characters are specified as not digits (e.g. 5** or CAT) then parameter extendedSearch will be ignored. | |
nxx | optional.String | NXX pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 3 characters) | |
npa | optional.String | Area code (mandatory). For example, 800, 844, 855, 866, 877, 888 for North America; and 647 for Canada | |
paymentType | optional.Interface of []string | Payment type. Default is 'Local' (it should correlate with the npa provided) | |
perPage | optional.Int32 | Indicates the page size (number of items). If not specified, the value is '10' by default | |
providerId | optional.Int32 | Internal identifier of a phone number provider. Supported if brand is specified. If specified, area code and nxx are optional | |
smsEnabled | optional.Bool | Specifies if SMS activation is available for the number. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified). If not specified, the value is null. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ParsePhoneNumberResponse ParsePhoneNumber(ctx, parsePhoneNumberRequest, optional) Parse Phone Number
Since 1.0.13 (Release 6.5)
Returns one or more parsed and/or formatted phone numbers that are passed as a string.
Light
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
parsePhoneNumberRequest | ParsePhoneNumberRequest | JSON body | |
optional | *ParsePhoneNumberOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ParsePhoneNumberOpts struct
Name | Type | Description | Notes |
---|
homeCountry | optional.String| Internal identifier of a home country. The default value is ISO code (ISO 3166) of the user's home country or brand country, if the user is undefined | nationalAsPriority | optional.Bool| The default value is 'False'. If 'True', the numbers that are closer to the home country are given higher priority |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PhoneNumberInfo ProvisionPhoneNumber(ctx, accountId, provisionPhoneNumberRequest) Provision Phone Numbers
Since 1.0.11 (Release 6.3)
Provisions a phone number.
Permission | Description |
---|---|
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
ReadAccounts | Viewing user account info (including name, business name, address and phone number/account number) |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] |
provisionPhoneNumberRequest | ProvisionPhoneNumberRequest | JSON body |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PhoneNumberResource ReassignPhoneNumberById(ctx, phoneNumberId, accountId, optional) Reassign Phone Number
Since 1.0.11 (Release 6.3)
Reassigns the phone number belonging to a certain account/extension. This call reassigns a phone number, currently belonging to some other extension or company (Auto-Receptionist). Please note: numbers with certain usage types 'MainCompanyNumber', 'AdditionalCompanyNumber' and 'CompanyFaxNumber' cannot be reassigned
Permission | Description |
---|---|
EditAccounts | Viewing and updating user account info (including name, business name, address and phone number/account number) |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
phoneNumberId | int64 | ||
accountId | string | ||
optional | *ReassignPhoneNumberByIdOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ReassignPhoneNumberByIdOpts struct
Name | Type | Description | Notes |
---|
reassignPhoneNumberResource | optional.Interface of ReassignPhoneNumberResource| |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ReservePhoneNumbersRecordsResource ReservePhoneNumbers(ctx, numberPoolPhoneNumberRequest) Reserve/ Un-reserve Numbers
Since 1.0.10 (Release 6.2)
Permission | Description |
---|---|
NumberLookup | Looking-up and reserving available phone number |
Medium
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
numberPoolPhoneNumberRequest | NumberPoolPhoneNumberRequest | JSON body |
ReservePhoneNumbersRecordsResource
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeviceResource UpdateDevice(ctx, accountId, deviceId, accountDeviceUpdate) Update Device
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
deviceId | string | ||
accountDeviceUpdate | AccountDeviceUpdate |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdatePagingOnlyGroupUsersAndDevices(ctx, accountId, pagingOnlyGroupId, optional) Edit Paging Group Users & Devices
Since 1.0.32 (Release 9.3)
Adds and/or removes paging group users and devices.
Permission | Description |
---|---|
EditExtensions | Viewing and updating my extension info (includes extension name, number, email and phone number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
pagingOnlyGroupId | string | ||
optional | *UpdatePagingOnlyGroupUsersAndDevicesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UpdatePagingOnlyGroupUsersAndDevicesOpts struct
Name | Type | Description | Notes |
---|
editPagingGroupRequest | optional.Interface of EditPagingGroupRequest| |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateParkLocationUsers(ctx, accountId, parkLocationId, optional) Adds and/or removes park location users
Since 1.0.32 (Release 9.3)
Adds and/or removes park location users.
Permission | Description |
---|---|
EditExtensions | Viewing and updating my extension info (includes extension name, number, email and phone number) |
Heavy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | ||
parkLocationId | string | ||
optional | *UpdateParkLocationUsersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a UpdateParkLocationUsersOpts struct
Name | Type | Description | Notes |
---|
editParkLocationRequest | optional.Interface of EditParkLocationRequest| |
(empty response body)
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]