Skip to main content

Setting

API lấy danh sách setting voicemail.

curl -L -X GET 'https://{{base_url}}/v1/voicemail' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{token}}'

Response trả về:

{
"data": [
{
"id": "aaaaaaaa-1111-2222-3333-eeeeeeee",
"extension": "101",
"password": "abc123def",
"mail_to": "",
"local_after_email": true,
"enabled": true,
"description": "For Tech"
},
{
"id": "aaaaaaaa-1111-2222-3333-ffffffff",
"extension": "102",
"password": "abc123def",
"mail_to": "tech@tel4vn.com",
"local_after_email": true,
"enabled": true,
"description": "For Tech"
}
],
"limit": 10,
"offset": 0,
"total": 10
}

HTTP Request

GET https://{{base_url}}/v1/voicemail

Query Parameters

ParameterDescriptionExample
limitSố lượng record trả về50
offsetVị trí bắt đầu khi query0