Tạo máy nhánh
API này dùng để tạo máy nhánh trên tổng đài.
Tên trường
Kiểu dữ liệu
Mô tả
Tên trường
Kiểu dữ liệu
Mô tả
Last updated
API này dùng để tạo máy nhánh trên tổng đài.
Last updated
POST $BASE_URL.Etelecom/CreateExtension HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"extension_number": 1,
"hotline_id": "text",
"user_id": "text"
}{
"account_id": "text",
"created_at": "2026-02-03T07:59:52.765Z",
"expires_at": "2026-02-03T07:59:52.765Z",
"extension_number": "text",
"extension_password": "text",
"hotline_id": "text",
"id": "text",
"state": "Z",
"subscription_id": "text",
"tenant_domain": "text",
"tenant_id": "text",
"updated_at": "2026-02-03T07:59:52.765Z",
"user_id": "text"
}curl --location '$BASE_URL.Etelecom/CreateExtension' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"extension_number": 1001,
"hotline_id": "string",
"user_id": "string"
}'{
"account_id": "string",
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"extension_number": "string",
"extension_password": "string",
"hotline_id": "string",
"id": "string",
"state": "Z",
"subscription_id": "string",
"tenant_domain": "string",
"tenant_id": "string",
"updated_at": "2019-08-24T14:15:22Z",
"user_id": "string"
}