RegisterDevice

Updated at:

Registers a SIP device to a specified agent under a specified instance. The SIP device can be a SIP phone or a SIP softphone.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID.

ccc-test

UserId

string

No

The agent ID.

agent@ccc-test

DeviceId

string

Yes

The device ID. You can specify a custom string value for this parameter.

test-device

Password

string

Yes

The device password. This password is used for authentication when the SIP device initiates a registration signal. Keep the password secure.

password

Response elements

Element

Type

Description

Example

object

Code

string

The response code.

OK

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The response message.

None

RequestId

string

The request ID.

EEEE671A-3E24-4A04-81E6-6C4F5B39DF75

Params

array

The list of error parameters.

["ParameterName"]

string

The response parameters.

None

Examples

Success response

JSON format

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
  "Params": [
    "无"
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Blank The parameter %s must not be blank.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.