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
Parameter | Description | Example |
---|---|---|
limit | Số lượng record trả về | 50 |
offset | Vị trí bắt đầu khi query | 0 |