Skip to main content

DeviceSipRegistrationService

A list of all methods in the DeviceSipRegistrationService service. Click on the method name to view detailed information about that method.

MethodsDescription
create_sip_registrationCreates SIP registration of a device/application (WebPhone, Mobile, Softphone).

create_sip_registration

Creates SIP registration of a device/application (WebPhone, Mobile, Softphone).

  • HTTP Method: POST
  • Endpoint: /restapi/v1.0/client-info/sip-provision

Parameters

NameTypeRequiredDescription
request_bodyCreateSipRegistrationRequestThe request body.

Return Type

CreateSipRegistrationResponse

Example Usage Code Snippet

from ring_central import RingCentral, Environment
from ring_central.models import CreateSipRegistrationRequest

sdk = RingCentral(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value
)

request_body = CreateSipRegistrationRequest(
device={
"id_": "id",
"app_external_id": "appExternalId",
"computer_name": "computerName",
"serial": "serial"
},
sip_info=[
{
"transport": "UDP"
}
],
soft_phone_line_reassignment="None"
)

result = sdk.device_sip_registration.create_sip_registration(request_body=request_body)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →