Tạo máy nhánh
API này dùng để tạo máy nhánh trên tổng đài.
Response Sample:
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.Interits/CreateExtension HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"extension_number": 1,
"hotline_id": "text",
"user_id": "text"
}{
"account_id": "text",
"created_at": "2026-01-25T10:59:56.016Z",
"expires_at": "2026-01-25T10:59:56.016Z",
"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-01-25T10:59:56.016Z",
"user_id": "text"
}curl --location '$BASE_URL.Interits/CreateExtension' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"extension_number": 101,
"hotline_id": "1296121461794938793"
}'{
"id": "string",
"user_id": "0",
"account_id": "string",
"extension_number": "string",
"extension_password": "string",
"tenant_id": "string",
"tenant_domain": "string",
"hotline_id": "string",
"created_at": "2023-08-15T14:42:20.175908+07:00",
"updated_at": "2023-08-15T14:42:20.326398+07:00",
"expires_at": "0001-01-01T00:00:00Z",
"subscription_id": "string",
"state": "Z"
}