Create extension

This API is used to create extensions on the tenant.

Note:

  • For APIs used for Shop, the API key is: <api_key>. The base_url information of the Shop.

  • For APIs used for Partner, the API key is: <shop_key>. The base_url information of the Partner.

CreateExtension

post
Body
extension_numberintegerOptional
hotline_idstring · int64Optional
user_idstring · int64Optional
Responses
200

A successful response

application/json
post
$BASE_URL.ETelecom/CreateExtension
200

A successful response

Request:

Response Sample:

Request body structure:

School name
Data type
Describe

hotline_id

required

string

ID hotline

extension_number

required

int

Extension number

user_id

string

Employee ID assigned to extension

Return data attribute structure:

School name
Data type
Describe

id

string

Extension ID

user_id

string

Employee ID assigned to extension

account_id

string

Account ID

extension_number

string

Extension number

extension_password

string

Extension password

tenant_id

string

Call center ID

tenant_domain

string

Domain of the switchboard

hotline_id

string

Hotline ID

created_at

string

Extension initialization time

updated_at

string

Extension update time

expires_at

string

Extension Expiration Time

subscription_id

string<date-time>

Registration ID

state

string

Status

Z: Newly created P: Valid N: Expired

Last updated